Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.000915/0.000915, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.001104/0.001104, allocations: 173.9 kB / 23.21 MB, free: 1.336 MB / 18.57 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.8988/0.8988, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.5849/0.5849, allocations: 115 MB / 374.9 MB, free: 7.734 MB / 346.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_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5559 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.992e-05, allocations: 2.281 kB / 0.5559 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001742/0.001762, allocations: 1.354 MB / 0.5572 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.002634, allocations: 0.8559 MB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.321e-05/0.002677, allocations: 0 / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.002695, allocations: 3.938 kB / 0.558 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.002742, allocations: 11.86 kB / 0.5581 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.003306, allocations: 222.8 kB / 0.5583 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.003388, allocations: 47.78 kB / 0.5583 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.003427, allocations: 3.984 kB / 0.5583 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.935e-05/0.003486, allocations: 23.92 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.003532, allocations: 15.98 kB / 0.5584 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.003546, allocations: 4 kB / 0.5584 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003966/0.003942, allocations: 379.4 kB / 0.5587 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.003959, allocations: 7.984 kB / 0.5587 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.003986, allocations: 15.94 kB / 0.5587 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.004305, allocations: 303 kB / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.004308, allocations: 4 kB / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/0.00431, allocations: 0 / 0.559 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004314, allocations: 0 / 0.559 GB, free: 13.7 MB / 0.5261 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.0003714/0.004685, allocations: 345.3 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.004723, allocations: 8.031 kB / 0.5594 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.004752, allocations: 34.75 kB / 0.5594 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.004915, allocations: 20.91 kB / 0.5594 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.1e-05/0.004996, allocations: 125.6 kB / 0.5595 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.005015, allocations: 4.375 kB / 0.5595 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.005033, allocations: 4.312 kB / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.005158, allocations: 79.69 kB / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.005164, allocations: 0 / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.005179, allocations: 4 kB / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.005183, allocations: 0 / 0.5596 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.145e-05/0.005255, allocations: 27.97 kB / 0.5597 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.005381, allocations: 136.8 kB / 0.5598 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.005588, allocations: 74.5 kB / 0.5599 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.059e-05/0.005639, allocations: 20.94 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.005651, allocations: 4 kB / 0.5599 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.00567, allocations: 34.5 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 7.21e-07/0.005671, allocations: 0 / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.001102/0.006773, allocations: 416.8 kB / 0.5603 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.006799, allocations: 51.41 kB / 0.5604 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.006875, allocations: 122.1 kB / 0.5605 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.00689, allocations: 29.7 kB / 0.5605 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.006918, allocations: 84.14 kB / 0.5606 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.006942, allocations: 23.75 kB / 0.5606 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.006984, allocations: 37.69 kB / 0.5606 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.00706, allocations: 318.8 kB / 0.561 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-05/0.007149, allocations: 43.97 kB / 0.561 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.345e-05/0.007222, allocations: 47.97 kB / 0.561 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.007374, allocations: 99.72 kB / 0.5611 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.007375, allocations: 0 / 0.5611 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002021/0.007577, allocations: 145.5 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.007589, allocations: 4 kB / 0.5613 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.007603, allocations: 11.98 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007615, allocations: 64 / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.127e-05/0.007686, allocations: 23.98 kB / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007691, allocations: 0 / 0.5613 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.00773, allocations: 4 kB / 0.5613 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.00774, allocations: 7.984 kB / 0.5613 GB, free: 11.12 MB / 0.5261 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.026e-05/0.007801, allocations: 121.7 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.007812, allocations: 7.891 kB / 0.5614 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.007843, allocations: 8.438 kB / 0.5615 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007846, allocations: 8 kB / 0.5615 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.00785, allocations: 3.938 kB / 0.5615 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007853, allocations: 0 / 0.5615 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004339/0.008286, allocations: 342.3 kB / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.008288, allocations: 0 / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.734e-05/0.008355, allocations: 15.98 kB / 0.5618 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008358, allocations: 0 / 0.5618 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.008369, allocations: 7.984 kB / 0.5618 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.00837, allocations: 4.031 kB / 0.5618 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008372, allocations: 0 / 0.5618 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.008662, allocations: 240.2 kB / 0.562 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.733e-05/0.008689, allocations: 11.97 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.008704, allocations: 0 / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.146e-05/0.008765, allocations: 15.98 kB / 0.5621 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.843e-05/0.008784, allocations: 0 / 0.5621 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.008792, allocations: 7.984 kB / 0.5621 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.008834, allocations: 93.45 kB / 0.5622 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.008834, allocations: 4 kB / 0.5622 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001842/0.009018, allocations: 24 kB / 0.5622 GB, free: 10.15 MB / 0.5261 GB 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.0005254/0.009544, allocations: 0.7913 MB / 0.563 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.009766, allocations: 113.6 kB / 0.5631 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.009768, allocations: 0 / 0.5631 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.415e-05/0.009832, allocations: 39.97 kB / 0.5631 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01009, allocations: 8.938 kB / 0.5631 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.01162, allocations: 1.621 MB / 0.5647 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.717e-05/0.01167, allocations: 71.44 kB / 0.5648 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.425e-05/0.01171, allocations: 15.84 kB / 0.5648 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.01177, allocations: 20.48 kB / 0.5648 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of SimCode: time 8.02e-07/0.01177, allocations: 0 / 0.5648 GB, free: 7.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.03459, allocations: 3.547 MB / 0.5683 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.117, allocations: 9.141 kB / 0.5683 GB, free: 3.977 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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_dp_DerivativeCheck_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.744959097995888]