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.0008532/0.0008532, 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.0008478/0.0008478, allocations: 161.3 kB / 23.52 MB, free: 0.9102 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.9676/0.9676, allocations: 177.1 MB / 203.9 MB, free: 5.578 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.6081/0.6081, allocations: 115 MB / 375.3 MB, free: 7.555 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.193e-06/1.193e-06, allocations: 0 / 480.3 MB, free: 12.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.19e-05, allocations: 2.312 kB / 480.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002105/0.002117, allocations: 1.36 MB / 481.7 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003285, allocations: 0.8741 MB / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.003333, allocations: 1.125 kB / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.003349, allocations: 0 / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.768e-05/0.003397, allocations: 7.875 kB / 482.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.004109, allocations: 224.8 kB / 482.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.255e-05/0.004192, allocations: 54.17 kB / 482.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.004223, allocations: 7.531 kB / 482.8 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.811e-05/0.004271, allocations: 32.38 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.004321, allocations: 21.39 kB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.004334, allocations: 2.875 kB / 482.9 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.004899, allocations: 374.5 kB / 483.2 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.004921, allocations: 11.44 kB / 483.3 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.004953, allocations: 21.33 kB / 483.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.005376, allocations: 309.2 kB / 483.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005378, allocations: 0 / 483.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005379, allocations: 1.781 kB / 483.6 MB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.005384, allocations: 1.75 kB / 483.6 MB, free: 10.3 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.0003509/0.005735, allocations: 355 kB / 483.9 MB, free: 9.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.005771, allocations: 9.719 kB / 483.9 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.005797, allocations: 31.72 kB / 484 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.006022, allocations: 29.72 kB / 484 MB, free: 9.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.974e-05/0.006082, allocations: 120.8 kB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.006096, allocations: 2.594 kB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.006122, allocations: 5.031 kB / 484.1 MB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.006267, allocations: 118.9 kB / 484.2 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006277, allocations: 0 / 484.2 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.006288, allocations: 6.25 kB / 484.2 MB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.006293, allocations: 5.062 kB / 484.3 MB, free: 9.668 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.006412, allocations: 33.89 kB / 484.3 MB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.006544, allocations: 148.6 kB / 484.4 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.006745, allocations: 77.53 kB / 484.5 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.006817, allocations: 32.3 kB / 484.5 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.00683, allocations: 1.656 kB / 484.5 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.006849, allocations: 45.62 kB / 484.6 MB, free: 9.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.00685, allocations: 0 / 484.6 MB, free: 9.395 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.003901/0.01075, allocations: 0.9761 MB / 485.6 MB, free: 8.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.01077, allocations: 54.12 kB / 485.6 MB, free: 8.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.01083, allocations: 123.7 kB / 485.7 MB, free: 8.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.01085, allocations: 26.92 kB / 485.8 MB, free: 8.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.706e-05/0.01086, allocations: 93.98 kB / 485.9 MB, free: 8.672 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.01089, allocations: 37.84 kB / 485.9 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.01095, allocations: 42.2 kB / 485.9 MB, free: 8.617 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.01113, allocations: 321.5 kB / 486.2 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.01127, allocations: 88.47 kB / 486.3 MB, free: 24.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01141, allocations: 96.7 kB / 486.4 MB, free: 24.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002939/0.0117, allocations: 199.7 kB / 486.6 MB, free: 24.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01171, allocations: 0 / 486.6 MB, free: 24.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003636/0.01207, allocations: 253.7 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01208, allocations: 5.594 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.0121, allocations: 6.359 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01211, allocations: 1.438 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.01226, allocations: 37.34 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.688e-06/0.01227, allocations: 1.375 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.01235, allocations: 9.406 kB / 486.9 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.01237, allocations: 3.781 kB / 486.9 MB, free: 24.02 MB / 426.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 7.89e-05/0.01245, allocations: 117.8 kB / 487 MB, free: 23.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.01248, allocations: 20.86 kB / 487.1 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.359e-05/0.01251, allocations: 11.62 kB / 487.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01251, allocations: 3.984 kB / 487.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01252, allocations: 2.625 kB / 487.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.01252, allocations: 0 / 487.1 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.01304, allocations: 419.1 kB / 487.5 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.01304, allocations: 3.938 kB / 487.5 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.01318, allocations: 40.52 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01318, allocations: 2.031 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.01319, allocations: 4.703 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.0132, allocations: 3.125 kB / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.0132, allocations: 0 / 487.5 MB, free: 23.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/0.01369, allocations: 381 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-06/0.0137, allocations: 10.23 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01372, allocations: 1.219 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.01382, allocations: 13.23 kB / 487.9 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.01384, allocations: 13.81 kB / 488 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.01386, allocations: 4.25 kB / 488 MB, free: 23.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.01389, allocations: 96.28 kB / 488.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01389, allocations: 0 / 488.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001976/0.01409, allocations: 42.53 kB / 488.1 MB, free: 23.22 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.000688/0.01478, allocations: 0.91 MB / 489 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.0151, allocations: 205.2 kB / 489.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0151, allocations: 2.562 kB / 489.2 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01523, allocations: 81.5 kB / 489.3 MB, free: 22.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.01543, allocations: 20.39 kB / 489.3 MB, free: 22.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.01769, allocations: 2.028 MB / 491.3 MB, free: 20.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.022e-05/0.01774, allocations: 81.84 kB / 491.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.377e-05/0.01782, allocations: 21.17 kB / 491.4 MB, free: 20.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.0179, allocations: 28.05 kB / 491.5 MB, free: 20.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.02e-07/0.0179, allocations: 0 / 491.5 MB, free: 20.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01871/0.03661, allocations: 4.541 MB / 496 MB, free: 19.61 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.532/7.568, allocations: 12.84 kB / 496 MB, free: 19.6 MB / 426.7 MB " [Timeout remaining time 652] (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: 10.094492762997106]