Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 102.7 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7607/0.7607, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 61.67 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1528, allocations: 76.18 MB / 0.6316 GB, free: 4.918 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002173/0.1551, allocations: 1.266 MB / 0.6328 GB, free: 3.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.1561, allocations: 0.6269 MB / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.1561, allocations: 0 / 0.6334 GB, free: 3.012 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1561, allocations: 3.984 kB / 0.6334 GB, free: 3.008 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.1562, allocations: 3.938 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.1568, allocations: 145.2 kB / 0.6336 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.72e-05/0.1569, allocations: 23.92 kB / 0.6336 GB, free: 2.84 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.114e-05/0.157, allocations: 4 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.157, allocations: 19.92 kB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.1571, allocations: 15.97 kB / 0.6336 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1571, allocations: 4 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004596/0.1576, allocations: 335.3 kB / 0.634 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.1576, allocations: 15.92 kB / 0.634 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.14e-05/0.1576, allocations: 11.94 kB / 0.634 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002528/0.1579, allocations: 159.3 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1579, allocations: 0 / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1579, allocations: 0 / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.1579, allocations: 0 / 0.6341 GB, free: 2.289 MB / 478.1 MB 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.0004438/0.1584, allocations: 371.4 kB / 0.6345 GB, free: 1.875 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1584, allocations: 8.031 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.041e-05/0.1584, allocations: 34.75 kB / 0.6345 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.1585, allocations: 0.9375 kB / 0.6345 GB, free: 1.824 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.1586, allocations: 172.3 kB / 0.6347 GB, free: 1.617 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1586, allocations: 4.375 kB / 0.6347 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1587, allocations: 12.31 kB / 0.6347 GB, free: 1.602 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.1588, allocations: 46.25 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1588, allocations: 3.938 kB / 0.6348 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1588, allocations: 8 kB / 0.6348 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1588, allocations: 0 / 0.6348 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/0.1589, allocations: 19.98 kB / 0.6348 GB, free: 1.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1591, allocations: 165.6 kB / 0.635 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1592, allocations: 62.48 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.1593, allocations: 24.86 kB / 0.635 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1593, allocations: 4 kB / 0.635 GB, free: 1.207 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1593, allocations: 38.55 kB / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.1593, allocations: 0 / 0.6351 GB, free: 1.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001158/0.1605, allocations: 0.5916 MB / 0.6357 GB, free: 488 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1605, allocations: 51.41 kB / 0.6357 GB, free: 424 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.023e-05/0.1606, allocations: 97.86 kB / 0.6358 GB, free: 316 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.1606, allocations: 29.7 kB / 0.6358 GB, free: 280 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.1607, allocations: 84.14 kB / 0.6359 GB, free: 192 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.1607, allocations: 35.45 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1608, allocations: 29.72 kB / 0.636 GB, free: 120 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1609, allocations: 318.8 kB / 0.6363 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.161, allocations: 19.98 kB / 0.6363 GB, free: 15.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.712e-05/0.161, allocations: 28.06 kB / 0.6363 GB, free: 15.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.738e-05/0.1611, allocations: 64.03 kB / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1611, allocations: 0 / 0.6364 GB, free: 15.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001438/0.1613, allocations: 97.53 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1613, allocations: 5.406 kB / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1613, allocations: 0 / 0.6365 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.1613, allocations: 8 kB / 0.6365 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1614, allocations: 19.98 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1614, allocations: 3.938 kB / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.1615, allocations: 0 / 0.6365 GB, free: 15.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.1615, allocations: 12 kB / 0.6365 GB, free: 15.54 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.276e-05/0.1616, allocations: 117.8 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.1616, allocations: 7.938 kB / 0.6366 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1618, allocations: 101.7 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1618, allocations: 3.938 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1618, allocations: 0 / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1618, allocations: 4 kB / 0.6367 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1623, allocations: 354.5 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1623, allocations: 4 kB / 0.6371 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.1624, allocations: 23.98 kB / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1624, allocations: 0 / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.1624, allocations: 0 / 0.6371 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1624, allocations: 3.938 kB / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1624, allocations: 0 / 0.6371 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1627, allocations: 227.3 kB / 0.6373 GB, free: 14.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.1627, allocations: 85 kB / 0.6374 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.1628, allocations: 8.094 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.1629, allocations: 4.094 kB / 0.6374 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.1629, allocations: 11.92 kB / 0.6374 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1629, allocations: 4 kB / 0.6374 GB, free: 14.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.014e-05/0.1629, allocations: 75.28 kB / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1629, allocations: 0 / 0.6375 GB, free: 14.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.1632, allocations: 35.94 kB / 0.6375 GB, free: 14.38 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005475/0.1638, allocations: 0.787 MB / 0.6383 GB, free: 13.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.1639, allocations: 67.91 kB / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1639, allocations: 0 / 0.6384 GB, free: 13.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.164, allocations: 31.98 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1642, allocations: 8 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.1656, allocations: 1.509 MB / 0.6399 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.1659, allocations: 0.6846 MB / 0.6406 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.1659, allocations: 8 kB / 0.6406 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.166, allocations: 19.42 kB / 0.6406 GB, free: 11.14 MB / 494.1 MB Notification: Performance of SimCode: time 8.12e-07/0.166, allocations: 0 / 0.6406 GB, free: 11.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.1869, allocations: 2.086 MB / 0.6426 GB, free: 9.227 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.243, allocations: 8.125 kB / 0.6426 GB, free: 9.219 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)