Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008535/0.0008535, allocations: 103.7 kB / 19.7 MB, free: 444 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 207.9 kB / 22.99 MB, free: 2.98 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9911/0.9911, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6352/0.6352, allocations: 151.4 MB / 464.5 MB, free: 13.01 MB / 362.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009865/0.0009865, allocations: 65.83 kB / 0.6433 GB, free: 17.98 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1569, allocations: 89.56 MB / 0.7308 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001904/0.1588, allocations: 1.359 MB / 0.7321 GB, free: 7.031 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.1598, allocations: 0.8602 MB / 0.733 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.608e-05/0.1599, allocations: 4 kB / 0.733 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.1599, allocations: 0 / 0.733 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 5.462e-05/0.16, allocations: 19.78 kB / 0.733 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.1606, allocations: 211 kB / 0.7332 GB, free: 5.938 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 8.175e-05/0.1607, allocations: 39.84 kB / 0.7332 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1607, allocations: 7.984 kB / 0.7332 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.422e-05/0.1608, allocations: 23.86 kB / 0.7332 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.1608, allocations: 19.92 kB / 0.7333 GB, free: 5.848 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.1608, allocations: 7.938 kB / 0.7333 GB, free: 5.84 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004175/0.1612, allocations: 375.5 kB / 0.7336 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.1612, allocations: 7.984 kB / 0.7336 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1613, allocations: 15.94 kB / 0.7337 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003794/0.1617, allocations: 271.2 kB / 0.7339 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1617, allocations: 0 / 0.7339 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1617, allocations: 0 / 0.7339 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.1617, allocations: 0 / 0.7339 GB, free: 5.184 MB / 0.5417 GB 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.000405/0.1621, allocations: 359.1 kB / 0.7343 GB, free: 4.805 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1621, allocations: 8.031 kB / 0.7343 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.9e-05/0.1621, allocations: 34.75 kB / 0.7343 GB, free: 4.754 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1623, allocations: 20.88 kB / 0.7343 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.1624, allocations: 110.5 kB / 0.7344 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1624, allocations: 4.375 kB / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1624, allocations: 8.125 kB / 0.7344 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.1626, allocations: 75.38 kB / 0.7345 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1626, allocations: 0 / 0.7345 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.1626, allocations: 0 / 0.7345 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1626, allocations: 0 / 0.7345 GB, free: 4.504 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.055e-05/0.1627, allocations: 39.89 kB / 0.7345 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.1628, allocations: 140.7 kB / 0.7347 GB, free: 4.285 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.163, allocations: 62.53 kB / 0.7347 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.1631, allocations: 32.88 kB / 0.7348 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1631, allocations: 0 / 0.7348 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1631, allocations: 34.56 kB / 0.7348 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1631, allocations: 0 / 0.7348 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.001197/0.1643, allocations: 404.8 kB / 0.7352 GB, free: 3.707 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.1644, allocations: 51.41 kB / 0.7352 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.1644, allocations: 132.8 kB / 0.7354 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1645, allocations: 25.7 kB / 0.7354 GB, free: 3.473 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.1645, allocations: 100.1 kB / 0.7355 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1645, allocations: 15.8 kB / 0.7355 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1646, allocations: 33.7 kB / 0.7355 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.1646, allocations: 322.8 kB / 0.7358 GB, free: 2.992 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.1647, allocations: 39.97 kB / 0.7359 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.707e-05/0.1648, allocations: 47.97 kB / 0.7359 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.165, allocations: 90.94 kB / 0.736 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.165, allocations: 3.938 kB / 0.736 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002132/0.1652, allocations: 153.5 kB / 0.7362 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1652, allocations: 7.938 kB / 0.7362 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1652, allocations: 4 kB / 0.7362 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1652, allocations: 0 / 0.7362 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.214e-05/0.1653, allocations: 15.98 kB / 0.7362 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1653, allocations: 4 kB / 0.7362 GB, free: 2.625 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1653, allocations: 7.984 kB / 0.7362 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.1654, allocations: 4 kB / 0.7362 GB, free: 2.613 MB / 0.5417 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.543e-05/0.1654, allocations: 121.7 kB / 0.7363 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.258e-05/0.1654, allocations: 7.953 kB / 0.7363 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1655, allocations: 12.36 kB / 0.7363 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1655, allocations: 0 / 0.7363 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1655, allocations: 0 / 0.7363 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1655, allocations: 0 / 0.7363 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.1662, allocations: 342.4 kB / 0.7367 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1662, allocations: 3.984 kB / 0.7367 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.889e-05/0.1663, allocations: 20.02 kB / 0.7367 GB, free: 2.055 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1663, allocations: 4 kB / 0.7367 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1663, allocations: 0 / 0.7367 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1663, allocations: 0 / 0.7367 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1663, allocations: 3.938 kB / 0.7367 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002914/0.1666, allocations: 240.2 kB / 0.7369 GB, free: 1.793 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.1666, allocations: 7.984 kB / 0.7369 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1666, allocations: 3.984 kB / 0.7369 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1667, allocations: 12.06 kB / 0.7369 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.1667, allocations: 7.984 kB / 0.737 GB, free: 1.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1667, allocations: 8.266 kB / 0.737 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.1667, allocations: 91.27 kB / 0.7371 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0 / 0.7371 GB, free: 1.664 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002266/0.167, allocations: 27.94 kB / 0.7371 GB, free: 1.637 MB / 0.5417 GB 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.0005262/0.1675, allocations: 0.7835 MB / 0.7378 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1677, allocations: 117.6 kB / 0.738 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1677, allocations: 0 / 0.738 GB, free: 0.7031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.784e-05/0.1678, allocations: 35.97 kB / 0.738 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.1681, allocations: 15.92 kB / 0.738 GB, free: 0.6523 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1696, allocations: 1.637 MB / 0.7396 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.27e-05/0.1696, allocations: 75.19 kB / 0.7397 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.037e-05/0.1697, allocations: 15.84 kB / 0.7397 GB, free: 14.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.1697, allocations: 23.42 kB / 0.7397 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.1697, allocations: 0 / 0.7397 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1873, allocations: 3.42 MB / 0.7431 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.908/7.095, allocations: 18.86 kB / 0.7431 GB, free: 11.48 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_OMSimulator.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating the FMU; the other simulators still get to run it (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.975361456003156]