Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.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.00121/0.00121, allocations: 96.7 kB / 20.21 MB, free: 4.215 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.001351/0.001351, allocations: 161.3 kB / 23.52 MB, free: 0.9141 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.8923/0.8923, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.5692/0.5692, allocations: 114.9 MB / 375.3 MB, free: 7.57 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_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 480.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.428e-05, allocations: 2.312 kB / 480.3 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001571/0.001585, allocations: 1.359 MB / 481.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.002412, allocations: 0.8696 MB / 482.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.002441, allocations: 0.6562 kB / 482.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.002458, allocations: 7.125 kB / 482.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.464e-05/0.002503, allocations: 14.36 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.002936, allocations: 223 kB / 482.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.003003, allocations: 49.98 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.003039, allocations: 2.406 kB / 482.8 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.828e-05/0.003087, allocations: 33.42 kB / 482.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.003142, allocations: 19.88 kB / 482.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.003157, allocations: 2.469 kB / 482.9 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.003532, allocations: 380.4 kB / 483.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.003548, allocations: 9.859 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.003578, allocations: 21.47 kB / 483.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.003895, allocations: 308.6 kB / 483.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003897, allocations: 0 / 483.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003897, allocations: 0.875 kB / 483.6 MB, free: 10.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.003901, allocations: 0 / 483.6 MB, free: 10.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003415/0.004243, allocations: 355.6 kB / 483.9 MB, free: 10 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.004286, allocations: 11.44 kB / 483.9 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.004311, allocations: 35.78 kB / 484 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002063/0.004518, allocations: 27.66 kB / 484 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.921e-05/0.004577, allocations: 109.2 kB / 484.1 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.00459, allocations: 8.062 kB / 484.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/0.004612, allocations: 4.438 kB / 484.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.00474, allocations: 122.6 kB / 484.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.00475, allocations: 0 / 484.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.004758, allocations: 5.531 kB / 484.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.004763, allocations: 1.094 kB / 484.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.004848, allocations: 34.94 kB / 484.3 MB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001125/0.00496, allocations: 149 kB / 484.4 MB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.00511, allocations: 81.56 kB / 484.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.005161, allocations: 36.23 kB / 484.5 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.005175, allocations: 1.219 kB / 484.5 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.00519, allocations: 39.75 kB / 484.6 MB, free: 9.426 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.005191, allocations: 2.406 kB / 484.6 MB, free: 9.426 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002688/0.007879, allocations: 0.9801 MB / 485.6 MB, free: 9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.007897, allocations: 57.38 kB / 485.6 MB, free: 8.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.557e-05/0.007952, allocations: 119.9 kB / 485.7 MB, free: 8.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.007967, allocations: 31.11 kB / 485.8 MB, free: 8.793 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.007989, allocations: 88.56 kB / 485.9 MB, free: 8.703 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.008018, allocations: 41.98 kB / 485.9 MB, free: 8.672 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.008071, allocations: 41.66 kB / 485.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.045e-05/0.008101, allocations: 321.6 kB / 486.2 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.00823, allocations: 91.81 kB / 486.3 MB, free: 8.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.008355, allocations: 93.64 kB / 486.4 MB, free: 8.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.008615, allocations: 196.3 kB / 486.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.008616, allocations: 1.562 kB / 486.6 MB, free: 8.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003377/0.008954, allocations: 255.7 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.00897, allocations: 8.609 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.008981, allocations: 2.875 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.008995, allocations: 2.219 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.009135, allocations: 31.25 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.009139, allocations: 2.656 kB / 486.9 MB, free: 8.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.531e-05/0.009215, allocations: 13.22 kB / 486.9 MB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.009229, allocations: 3.219 kB / 486.9 MB, free: 8.047 MB / 410.7 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 (14): * Single equations (assignments): 13 * 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.385e-05/0.009282, allocations: 117.5 kB / 487 MB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.009307, allocations: 13.02 kB / 487.1 MB, free: 7.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.009338, allocations: 19.31 kB / 487.1 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009339, allocations: 1.25 kB / 487.1 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.009343, allocations: 0 / 487.1 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009346, allocations: 4 kB / 487.1 MB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005991/0.009945, allocations: 421.7 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.009947, allocations: 1.75 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.01008, allocations: 34.75 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.01008, allocations: 1.094 kB / 487.5 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.0101, allocations: 10.27 kB / 487.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.0101, allocations: 0 / 487.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.0101, allocations: 2.844 kB / 487.5 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/0.01057, allocations: 374.2 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.01057, allocations: 14.05 kB / 487.9 MB, free: 23.35 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01059, allocations: 4 kB / 487.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.01069, allocations: 9.797 kB / 487.9 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.01072, allocations: 13.47 kB / 488 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.01073, allocations: 3.719 kB / 488 MB, free: 23.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.768e-05/0.01077, allocations: 99.58 kB / 488.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01077, allocations: 0 / 488.1 MB, free: 23.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01096, allocations: 43.53 kB / 488.1 MB, free: 23.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0006925/0.01165, allocations: 0.9099 MB / 489 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003314/0.01198, allocations: 205.9 kB / 489.2 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01198, allocations: 1.281 kB / 489.2 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.01211, allocations: 83.12 kB / 489.3 MB, free: 22.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.01233, allocations: 21.31 kB / 489.3 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.01444, allocations: 2.019 MB / 491.3 MB, free: 20.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.01449, allocations: 77.97 kB / 491.4 MB, free: 20.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.01457, allocations: 21.86 kB / 491.4 MB, free: 20.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.01465, allocations: 38.12 kB / 491.5 MB, free: 20.84 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01465, allocations: 0 / 491.5 MB, free: 20.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02124/0.03589, allocations: 4.58 MB / 496 MB, free: 19.63 MB / 426.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 7.339/7.375, allocations: 14.02 kB / 496.1 MB, free: 19.62 MB / 426.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2_OMSimulator_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_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_DerivativeCheck2_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_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_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 9.85241568897618]