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.00108/0.00108, allocations: 72.5 kB / 19.92 MB, free: 4.633 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.001161/0.001161, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8533/0.8533, 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.5546/0.5546, allocations: 114.9 MB / 374.9 MB, free: 7.762 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_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: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.5559 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279e-05/1.392e-05, allocations: 10.22 kB / 0.5559 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001441/0.001455, allocations: 1.36 MB / 0.5572 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008029/0.002257, allocations: 0.8598 MB / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.002284, allocations: 0 / 0.558 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.0023, allocations: 4 kB / 0.558 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.302e-05/0.002343, allocations: 11.86 kB / 0.5581 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.00277, allocations: 226.8 kB / 0.5583 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.646e-05/0.002847, allocations: 47.78 kB / 0.5583 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.002883, allocations: 4 kB / 0.5583 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.00294, allocations: 23.92 kB / 0.5583 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.002984, allocations: 19.91 kB / 0.5584 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.002995, allocations: 0 / 0.5584 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.00334, allocations: 375.4 kB / 0.5587 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.003356, allocations: 11.94 kB / 0.5587 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.003377, allocations: 15.98 kB / 0.5587 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.003656, allocations: 299 kB / 0.559 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.003658, allocations: 0 / 0.559 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003659, allocations: 0 / 0.559 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003663, allocations: 0 / 0.559 GB, free: 13.72 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.0003413/0.004004, allocations: 353.3 kB / 0.5594 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.004037, allocations: 11.97 kB / 0.5594 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.004066, allocations: 34.69 kB / 0.5594 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.004216, allocations: 20.91 kB / 0.5594 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.974e-05/0.004295, allocations: 121.7 kB / 0.5595 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.004315, allocations: 12.38 kB / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004331, allocations: 384 / 0.5596 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.004455, allocations: 83.67 kB / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.004463, allocations: 0 / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.004471, allocations: 0 / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004475, allocations: 0 / 0.5596 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.195e-05/0.004547, allocations: 27.97 kB / 0.5597 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.004681, allocations: 136.8 kB / 0.5598 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.004883, allocations: 66.48 kB / 0.5599 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.004929, allocations: 28.94 kB / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.004939, allocations: 0 / 0.5599 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.004957, allocations: 38.5 kB / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.004957, allocations: 0 / 0.5599 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.00106/0.006017, allocations: 408.8 kB / 0.5603 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.00604, allocations: 55.41 kB / 0.5604 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.514e-05/0.006105, allocations: 122.1 kB / 0.5605 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.006119, allocations: 25.7 kB / 0.5605 GB, free: 12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.006147, allocations: 88.14 kB / 0.5606 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.006168, allocations: 23.73 kB / 0.5606 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.006207, allocations: 33.7 kB / 0.5606 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.945e-05/0.006287, allocations: 318.8 kB / 0.561 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.006365, allocations: 47.97 kB / 0.561 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.006437, allocations: 47.97 kB / 0.561 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.006582, allocations: 94.22 kB / 0.5611 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.006583, allocations: 0 / 0.5611 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001971/0.00678, allocations: 145.5 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.00679, allocations: 4 kB / 0.5613 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.006801, allocations: 11.98 kB / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.006811, allocations: 0 / 0.5613 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.006874, allocations: 19.92 kB / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.006878, allocations: 0 / 0.5613 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.006917, allocations: 8 kB / 0.5613 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.006926, allocations: 15.86 kB / 0.5613 GB, free: 11.13 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 5.449e-05/0.006981, allocations: 109.8 kB / 0.5614 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.006991, allocations: 11.89 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.007017, allocations: 4.5 kB / 0.5614 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.007019, allocations: 8 kB / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.007023, allocations: 4 kB / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.007025, allocations: 0 / 0.5615 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.007407, allocations: 342.4 kB / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.007408, allocations: 0 / 0.5618 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.055e-05/0.007469, allocations: 15.98 kB / 0.5618 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.00747, allocations: 0 / 0.5618 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.00748, allocations: 7.984 kB / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007481, allocations: 0 / 0.5618 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.007482, allocations: 4.031 kB / 0.5618 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.007746, allocations: 240.2 kB / 0.562 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.007923, allocations: 11.97 kB / 0.5621 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.007936, allocations: 0 / 0.5621 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.007997, allocations: 7.984 kB / 0.5621 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.008014, allocations: 4 kB / 0.5621 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.00802, allocations: 3.984 kB / 0.5621 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.008053, allocations: 101.4 kB / 0.5622 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.008053, allocations: 4.062 kB / 0.5622 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001638/0.008216, allocations: 24 kB / 0.5622 GB, free: 10.17 MB / 0.5261 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.0004428/0.008659, allocations: 0.7795 MB / 0.563 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001954/0.008855, allocations: 121.6 kB / 0.5631 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008856, allocations: 0 / 0.5631 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.284e-05/0.008919, allocations: 39.97 kB / 0.5631 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.009111, allocations: 9.578 kB / 0.5631 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.01047, allocations: 1.618 MB / 0.5647 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01051, allocations: 71.33 kB / 0.5648 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.636e-05/0.01055, allocations: 11.91 kB / 0.5648 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.01061, allocations: 24.48 kB / 0.5648 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of SimCode: time 5.21e-07/0.01061, allocations: 0 / 0.5648 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.02558, allocations: 3.545 MB / 0.5683 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.058, allocations: 12.56 kB / 0.5683 GB, free: 4.016 MB / 0.5261 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.525443470003665]