Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001772/0.001772, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001963/0.001963, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7884/0.7884, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001383, allocations: 62.58 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1593, 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_m_flow_DerivativeCheck): time 0.002648/0.162, allocations: 1.27 MB / 0.6328 GB, free: 3.637 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.1636, allocations: 0.6114 MB / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.1637, allocations: 0 / 0.6334 GB, free: 3.023 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.1637, allocations: 3.938 kB / 0.6334 GB, free: 3.02 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.311e-05/0.1638, allocations: 3.984 kB / 0.6334 GB, free: 3.016 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.1648, allocations: 147.3 kB / 0.6336 GB, free: 2.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.1649, allocations: 15.94 kB / 0.6336 GB, free: 2.855 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.012e-05/0.1649, allocations: 7.984 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.165, allocations: 4 kB / 0.6336 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.087e-05/0.1651, allocations: 7.938 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.1651, allocations: 4 kB / 0.6336 GB, free: 2.832 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.166, allocations: 343.3 kB / 0.6339 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.166, allocations: 8 kB / 0.6339 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.335e-05/0.1661, allocations: 15.91 kB / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004544/0.1666, allocations: 143.1 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1666, allocations: 3.938 kB / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1666, allocations: 0 / 0.6341 GB, free: 2.332 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1666, allocations: 0 / 0.6341 GB, free: 2.332 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.0006811/0.1673, allocations: 367.6 kB / 0.6345 GB, free: 1.922 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.1674, allocations: 8.031 kB / 0.6345 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.495e-05/0.1674, allocations: 38.75 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1675, allocations: 0.9375 kB / 0.6345 GB, free: 1.867 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1677, allocations: 160.4 kB / 0.6347 GB, free: 1.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1677, allocations: 4.375 kB / 0.6347 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1677, allocations: 384 / 0.6347 GB, free: 1.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1679, allocations: 42.25 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1679, allocations: 7.922 kB / 0.6347 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.1679, allocations: 0 / 0.6347 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.168, allocations: 4 kB / 0.6347 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.395e-05/0.168, allocations: 23.86 kB / 0.6347 GB, free: 1.586 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.1683, allocations: 153.7 kB / 0.6349 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002722/0.1686, allocations: 42.56 kB / 0.6349 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1687, allocations: 12.86 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1687, allocations: 4 kB / 0.6349 GB, free: 1.316 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.1687, allocations: 42.64 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.1688, allocations: 0 / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009351/0.1697, allocations: 314 kB / 0.6353 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.1698, allocations: 51.41 kB / 0.6353 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1699, allocations: 97.86 kB / 0.6354 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1699, allocations: 25.7 kB / 0.6354 GB, free: 0.707 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.17, allocations: 88.12 kB / 0.6355 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.17, allocations: 15.75 kB / 0.6355 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.1701, allocations: 21.72 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1702, allocations: 318.8 kB / 0.6359 GB, free: 260 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.1703, allocations: 8.062 kB / 0.6359 GB, free: 252 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.1703, allocations: 16 kB / 0.6359 GB, free: 236 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.524e-05/0.1704, allocations: 36.98 kB / 0.6359 GB, free: 196 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1704, allocations: 0 / 0.6359 GB, free: 196 kB / 478.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001655/0.1706, allocations: 77.47 kB / 0.636 GB, free: 112 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.1706, allocations: 5.562 kB / 0.636 GB, free: 108 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1707, allocations: 4 kB / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1707, allocations: 0 / 0.636 GB, free: 104 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.1708, allocations: 12 kB / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.1708, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.1708, allocations: 0 / 0.636 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1709, allocations: 3.938 kB / 0.636 GB, free: 88 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 0.0001356/0.171, allocations: 113.9 kB / 0.6361 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.171, allocations: 7.922 kB / 0.6361 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.1713, allocations: 73.59 kB / 0.6362 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1713, allocations: 4 kB / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1713, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1713, allocations: 0 / 0.6362 GB, free: 15.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1718, allocations: 323.8 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.1719, allocations: 4 kB / 0.6365 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.172, allocations: 8 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.172, allocations: 3.938 kB / 0.6365 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.172, allocations: 4 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.172, allocations: 0 / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1721, allocations: 4.031 kB / 0.6365 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.1724, allocations: 188.3 kB / 0.6367 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1724, allocations: 85.19 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1725, allocations: 4 kB / 0.6368 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.1726, allocations: 11.98 kB / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.1727, allocations: 0 / 0.6368 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.1727, allocations: 8.062 kB / 0.6368 GB, free: 15.14 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.319e-05/0.1727, allocations: 75.28 kB / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1728, allocations: 0 / 0.6369 GB, free: 15.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.1733, allocations: 27.98 kB / 0.6369 GB, free: 15.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0007509/0.1741, allocations: 0.7328 MB / 0.6376 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1743, allocations: 31.98 kB / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.1743, allocations: 0 / 0.6377 GB, free: 14.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.934e-05/0.1743, allocations: 23.92 kB / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.1747, allocations: 3.938 kB / 0.6377 GB, free: 14.22 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.1766, allocations: 1.326 MB / 0.639 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1769, allocations: 0.6844 MB / 0.6397 GB, free: 12.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.177, allocations: 8.297 kB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.1771, allocations: 11.44 kB / 0.6397 GB, free: 12.08 MB / 494.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1771, allocations: 4 kB / 0.6397 GB, free: 12.08 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0269/0.204, allocations: 1.625 MB / 0.6413 GB, free: 10.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.038, allocations: 4.5 kB / 0.6413 GB, free: 10.62 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)