Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.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.001371/0.001371, 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.001727/0.001727, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8698/0.8698, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.577/0.577, allocations: 115 MB / 374.9 MB, free: 7.77 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.InvertingPowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.38e-05, allocations: 2.281 kB / 0.5559 GB, free: 15.89 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001569/0.001583, allocations: 1.346 MB / 0.5572 GB, free: 14.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008221/0.002405, allocations: 0.8365 MB / 0.558 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.356e-05/0.002438, allocations: 0 / 0.558 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.002459, allocations: 7.922 kB / 0.558 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.002524, allocations: 3.938 kB / 0.558 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004453/0.002969, allocations: 217.9 kB / 0.5582 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.00304, allocations: 47.72 kB / 0.5583 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.003079, allocations: 4 kB / 0.5583 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.412e-05/0.003123, allocations: 19.92 kB / 0.5583 GB, free: 13.4 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.218e-05/0.003166, allocations: 15.98 kB / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003178, allocations: 0 / 0.5583 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.003538, allocations: 379.4 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.003554, allocations: 8 kB / 0.5587 GB, free: 13.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.003574, allocations: 11.92 kB / 0.5587 GB, free: 13 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.003864, allocations: 291.1 kB / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003866, allocations: 0 / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003867, allocations: 0 / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003871, allocations: 0 / 0.559 GB, free: 12.71 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003723/0.004244, allocations: 345.3 kB / 0.5593 GB, free: 12.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.004284, allocations: 8.031 kB / 0.5593 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.004315, allocations: 38.75 kB / 0.5593 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.0045, allocations: 20.86 kB / 0.5594 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004608, allocations: 113.7 kB / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.004624, allocations: 4.375 kB / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.004634, allocations: 384 / 0.5595 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.004743, allocations: 49.98 kB / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.004752, allocations: 0 / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.004763, allocations: 0 / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.004767, allocations: 0 / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.004839, allocations: 23.98 kB / 0.5595 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001393/0.004978, allocations: 136.7 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.79e-05/0.005076, allocations: 42.48 kB / 0.5597 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.005114, allocations: 16.86 kB / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.005126, allocations: 0 / 0.5597 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.005148, allocations: 38.5 kB / 0.5598 GB, free: 11.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 5.31e-07/0.005149, allocations: 0 / 0.5598 GB, free: 11.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.005358, allocations: 77.64 kB / 0.5598 GB, free: 11.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.005388, allocations: 51.41 kB / 0.5599 GB, free: 11.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.291e-05/0.005471, allocations: 122 kB / 0.56 GB, free: 11.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.005482, allocations: 29.7 kB / 0.56 GB, free: 11.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.005521, allocations: 88.12 kB / 0.5601 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.005537, allocations: 7.891 kB / 0.5601 GB, free: 11.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.00557, allocations: 25.7 kB / 0.5601 GB, free: 11.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.437e-05/0.005654, allocations: 318.8 kB / 0.5604 GB, free: 11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.005706, allocations: 19.98 kB / 0.5605 GB, free: 10.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.005747, allocations: 19.98 kB / 0.5605 GB, free: 10.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/0.005834, allocations: 52.27 kB / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005836, allocations: 0 / 0.5605 GB, free: 10.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001236/0.00596, allocations: 93.5 kB / 0.5606 GB, free: 10.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.005972, allocations: 7.938 kB / 0.5606 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.005986, allocations: 7.984 kB / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.005997, allocations: 0 / 0.5606 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.006414, allocations: 83.88 kB / 0.5607 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.007546, allocations: 1.395 MB / 0.5621 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.814e-05/0.007574, allocations: 11.92 kB / 0.5621 GB, free: 9.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.007583, allocations: 7.922 kB / 0.5621 GB, free: 9.188 MB / 490.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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.204e-05/0.007655, allocations: 109.8 kB / 0.5622 GB, free: 9.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/0.007661, allocations: 3.953 kB / 0.5622 GB, free: 9.066 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.007675, allocations: 11.58 kB / 0.5622 GB, free: 9.055 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.007677, allocations: 4 kB / 0.5622 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.7e-07/0.007678, allocations: 0 / 0.5622 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.007681, allocations: 4.094 kB / 0.5622 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.834e-05/0.007759, allocations: 128.7 kB / 0.5624 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.007761, allocations: 0 / 0.5624 GB, free: 8.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004387/0.0082, allocations: 107.8 kB / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.008203, allocations: 0 / 0.5625 GB, free: 8.773 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.008211, allocations: 4 kB / 0.5625 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009631/0.009175, allocations: 1.387 MB / 0.5638 GB, free: 7.266 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.009177, allocations: 3.984 kB / 0.5638 GB, free: 7.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.009264, allocations: 81.16 kB / 0.5639 GB, free: 7.164 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.009272, allocations: 11.89 kB / 0.5639 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-06/0.009279, allocations: 3.984 kB / 0.5639 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.675e-05/0.009296, allocations: 0 / 0.5639 GB, free: 7.148 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.009317, allocations: 7.938 kB / 0.5639 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.009321, allocations: 4.125 kB / 0.5639 GB, free: 7.137 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.501e-05/0.009356, allocations: 98.02 kB / 0.564 GB, free: 7.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009356, allocations: 0 / 0.564 GB, free: 7.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001622/0.009518, allocations: 31.92 kB / 0.564 GB, free: 7.012 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003272/0.009846, allocations: 0.6318 MB / 0.5647 GB, free: 6.352 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.01035, allocations: 153.5 kB / 0.5648 GB, free: 6.195 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.01035, allocations: 4 kB / 0.5648 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000452/0.01081, allocations: 119.8 kB / 0.5649 GB, free: 6.074 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001698/0.01097, allocations: 13.47 kB / 0.5649 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.012, allocations: 1.278 MB / 0.5662 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.731e-05/0.01203, allocations: 71.34 kB / 0.5663 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.01205, allocations: 0 / 0.5663 GB, free: 4.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.01208, allocations: 16.5 kB / 0.5663 GB, free: 4.594 MB / 490.7 MB Notification: Performance of SimCode: time 6.42e-07/0.01208, allocations: 0 / 0.5663 GB, free: 4.594 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01463/0.02671, allocations: 3.061 MB / 0.5693 GB, free: 1.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/7.815, allocations: 9.703 kB / 0.5693 GB, free: 1.703 MB / 490.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingPowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.322589464005432]