Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001422/0.001422, allocations: 105.7 kB / 16.4 MB, free: 6.48 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.001781/0.001781, allocations: 197.2 kB / 17.34 MB, free: 5.754 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.501/1.501, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7959/0.7959, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.95 kB / 0.5572 GB, free: 32.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1549, allocations: 76.18 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002372/0.1573, allocations: 1.262 MB / 0.6328 GB, free: 3.758 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.1584, allocations: 0.6152 MB / 0.6334 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.1584, allocations: 0 / 0.6334 GB, free: 3.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.439e-05/0.1585, allocations: 3.938 kB / 0.6334 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.1586, allocations: 4 kB / 0.6334 GB, free: 3.133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.1592, allocations: 139.4 kB / 0.6336 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.1593, allocations: 19.94 kB / 0.6336 GB, free: 2.977 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.41e-05/0.1593, allocations: 3.984 kB / 0.6336 GB, free: 2.973 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.1594, allocations: 11.92 kB / 0.6336 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.1595, allocations: 11.94 kB / 0.6336 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1595, allocations: 0 / 0.6336 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005329/0.16, allocations: 343.4 kB / 0.6339 GB, free: 2.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.16, allocations: 4 kB / 0.6339 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.1601, allocations: 7.938 kB / 0.6339 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.1604, allocations: 151 kB / 0.6341 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1604, allocations: 0 / 0.6341 GB, free: 2.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1604, allocations: 0 / 0.6341 GB, free: 2.457 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1604, allocations: 4 kB / 0.6341 GB, free: 2.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000502/0.1609, allocations: 355.6 kB / 0.6344 GB, free: 2.055 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.161, allocations: 16.02 kB / 0.6344 GB, free: 2.039 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.161, allocations: 34.75 kB / 0.6345 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.631e-05/0.1611, allocations: 8.875 kB / 0.6345 GB, free: 1.988 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.1612, allocations: 164.4 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.1613, allocations: 4.375 kB / 0.6346 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.1613, allocations: 4.375 kB / 0.6347 GB, free: 1.781 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1614, allocations: 38.25 kB / 0.6347 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1614, allocations: 3.938 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1614, allocations: 0 / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1615, allocations: 4 kB / 0.6347 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.1615, allocations: 11.98 kB / 0.6347 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1617, allocations: 157.7 kB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1619, allocations: 54.5 kB / 0.6349 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.162, allocations: 20.84 kB / 0.6349 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.162, allocations: 0 / 0.6349 GB, free: 1.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.162, allocations: 34.5 kB / 0.635 GB, free: 1.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.162, allocations: 0 / 0.635 GB, free: 1.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007169/0.1628, allocations: 314.2 kB / 0.6353 GB, free: 1.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.1628, allocations: 59.41 kB / 0.6353 GB, free: 0.957 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.944e-05/0.1629, allocations: 93.86 kB / 0.6354 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1629, allocations: 25.7 kB / 0.6354 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.163, allocations: 84.08 kB / 0.6355 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.163, allocations: 23.73 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1631, allocations: 17.72 kB / 0.6356 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1632, allocations: 318.8 kB / 0.6359 GB, free: 380 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.1632, allocations: 12 kB / 0.6359 GB, free: 368 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.1633, allocations: 12 kB / 0.6359 GB, free: 356 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.961e-05/0.1633, allocations: 32.84 kB / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1633, allocations: 0 / 0.6359 GB, free: 320 kB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000105/0.1634, allocations: 69.53 kB / 0.636 GB, free: 244 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1635, allocations: 4 kB / 0.636 GB, free: 240 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1635, allocations: 4 kB / 0.636 GB, free: 236 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1635, allocations: 3.984 kB / 0.636 GB, free: 232 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.332e-05/0.1636, allocations: 11.94 kB / 0.636 GB, free: 220 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1636, allocations: 4.234 kB / 0.636 GB, free: 216 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.107e-05/0.1636, allocations: 4 kB / 0.636 GB, free: 212 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1636, allocations: 4 kB / 0.636 GB, free: 208 kB / 478.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 (7): * Single equations (assignments): 7 * 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 6.778e-05/0.1637, allocations: 105.8 kB / 0.6361 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.1637, allocations: 7.938 kB / 0.6361 GB, free: 84 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.1639, allocations: 77.8 kB / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1639, allocations: 0 / 0.6362 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.1639, allocations: 7.938 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1639, allocations: 4 kB / 0.6362 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.1642, allocations: 311.4 kB / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1642, allocations: 0 / 0.6365 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.836e-05/0.1643, allocations: 15.92 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1643, allocations: 4 kB / 0.6365 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1643, allocations: 3.938 kB / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1643, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1643, allocations: 0 / 0.6365 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.1645, allocations: 192.3 kB / 0.6367 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.1646, allocations: 77.11 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.668e-05/0.1646, allocations: 8.031 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.1647, allocations: 0 / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.851e-05/0.1647, allocations: 7.984 kB / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.1647, allocations: 0 / 0.6368 GB, free: 15.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.435e-05/0.1647, allocations: 83.73 kB / 0.6369 GB, free: 15.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1648, allocations: 3.938 kB / 0.6369 GB, free: 15.19 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000248/0.165, allocations: 28.06 kB / 0.6369 GB, free: 15.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.000477/0.1655, allocations: 0.7288 MB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.1656, allocations: 35.92 kB / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1656, allocations: 4.062 kB / 0.6377 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1657, allocations: 16 kB / 0.6377 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.1659, allocations: 7.984 kB / 0.6377 GB, free: 14.34 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.1671, allocations: 1.319 MB / 0.639 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.1674, allocations: 0.6845 MB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.1674, allocations: 7.984 kB / 0.6396 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.1675, allocations: 18.81 kB / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1675, allocations: 0 / 0.6397 GB, free: 12.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02127/0.1888, allocations: 1.602 MB / 0.6412 GB, free: 10.76 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.066/8.255, allocations: 12.89 kB / 0.6412 GB, free: 10.75 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)