Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7424/0.7424, allocations: 128.7 MB / 143.7 MB, free: 2.355 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 186.4 kB / 173.7 MB, free: 6.145 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 87.25 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 17.75 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.2852, allocations: 103.6 MB / 0.7366 GB, free: 6.762 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.2855, allocations: 87.94 kB / 0.7366 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.2999, allocations: 4.854 MB / 0.7414 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.255e-06/0.2999, allocations: 4 kB / 0.7414 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2999, allocations: 0 / 0.7414 GB, free: 1.809 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004545/0.3004, allocations: 355.3 kB / 0.7417 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.3005, allocations: 8.031 kB / 0.7417 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.14e-05/0.3005, allocations: 38.56 kB / 0.7418 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3006, allocations: 7.859 kB / 0.7418 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3007, allocations: 159.1 kB / 0.7419 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3008, allocations: 4 kB / 0.7419 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.779e-05/0.3008, allocations: 8 kB / 0.7419 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005471/0.3013, allocations: 97.62 kB / 0.742 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.3014, allocations: 3.938 kB / 0.742 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3014, allocations: 4 kB / 0.742 GB, free: 1.035 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3014, allocations: 11.89 kB / 0.7421 GB, free: 1.023 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.3018, allocations: 71.86 kB / 0.7421 GB, free: 0.9531 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.302, allocations: 169.6 kB / 0.7423 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.3025, allocations: 106.5 kB / 0.7424 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.3027, allocations: 93.09 kB / 0.7425 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3027, allocations: 42.55 kB / 0.7425 GB, free: 476 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 3.807e-06/0.3028, allocations: 0 / 0.7425 GB, free: 476 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.2856/0.5884, allocations: 1.273 MB / 0.7438 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.5885, allocations: 53.41 kB / 0.7438 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.5885, allocations: 92.53 kB / 0.7439 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5885, allocations: 27.08 kB / 0.7439 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.924e-05/0.5886, allocations: 84.8 kB / 0.744 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.5886, allocations: 44.11 kB / 0.744 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.5886, allocations: 3.219 kB / 0.7441 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.5887, allocations: 316.5 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.589, allocations: 70.52 kB / 0.7444 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.5892, allocations: 71.42 kB / 0.7445 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.5895, allocations: 76.88 kB / 0.7446 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5895, allocations: 0 / 0.7446 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005888/0.5901, allocations: 191.5 kB / 0.7447 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5901, allocations: 8.156 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5902, allocations: 3.844 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5902, allocations: 2.969 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.5905, allocations: 55.11 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.5906, allocations: 3.609 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.5908, allocations: 30.42 kB / 0.7448 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.5909, allocations: 9.781 kB / 0.7449 GB, free: 109.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.591, allocations: 117.7 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.591, allocations: 4.938 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.591, allocations: 12.62 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.5911, allocations: 3.438 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5911, allocations: 3.953 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5911, allocations: 0.5625 kB / 0.745 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00086/0.5919, allocations: 466.7 kB / 0.7454 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.592, allocations: 0.5156 kB / 0.7454 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.5923, allocations: 53.09 kB / 0.7455 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.5923, allocations: 1.031 kB / 0.7455 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5924, allocations: 8.547 kB / 0.7455 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5924, allocations: 0 / 0.7455 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5924, allocations: 6.344 kB / 0.7455 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008577/0.5933, allocations: 375.7 kB / 0.7459 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.5933, allocations: 85.97 kB / 0.7459 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.5933, allocations: 1.25 kB / 0.7459 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003067/0.5936, allocations: 35.08 kB / 0.746 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.5937, allocations: 10.41 kB / 0.746 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.5937, allocations: 3.031 kB / 0.746 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.454e-05/0.5937, allocations: 80.69 kB / 0.7461 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5937, allocations: 1.25 kB / 0.7461 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002575/0.594, allocations: 24.91 kB / 0.7461 GB, free: 108.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.595, allocations: 0.9146 MB / 0.747 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005461/0.5956, allocations: 157.7 kB / 0.7471 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5956, allocations: 0 / 0.7471 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.5959, allocations: 87.12 kB / 0.7472 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.596, allocations: 7.344 kB / 0.7472 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.5986, allocations: 1.012 MB / 0.7482 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.5988, allocations: 0.6886 MB / 0.7489 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.5989, allocations: 18.88 kB / 0.7489 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.599, allocations: 21.59 kB / 0.7489 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of SimCode: time 9.12e-07/0.599, allocations: 0 / 0.7489 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.6124, allocations: 1.869 MB / 0.7507 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/0.6127, allocations: 229.7 kB / 0.751 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.527/2.14, allocations: 3.094 kB / 0.751 GB, free: 106.1 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)