Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.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.0009423/0.0009423, 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.001075/0.001075, 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.9622/0.9622, allocations: 177.1 MB / 203.9 MB, free: 5.582 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.5686/0.5686, allocations: 114.9 MB / 375.3 MB, free: 7.598 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.InversePowerLaws,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 480.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.803e-05/2.006e-05, allocations: 2.312 kB / 480.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002076/0.002096, allocations: 1.37 MB / 481.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.003228, allocations: 0.8622 MB / 482.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.003278, allocations: 3.469 kB / 482.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.196e-05/0.00333, allocations: 11.3 kB / 482.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003468, allocations: 25.69 kB / 482.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006785/0.004147, allocations: 230.8 kB / 482.8 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.004344, allocations: 173.6 kB / 483 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.004388, allocations: 7.219 kB / 483 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.369e-05/0.004482, allocations: 74.55 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.004606, allocations: 67.11 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.004632, allocations: 7.094 kB / 483.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.005203, allocations: 385.2 kB / 483.5 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.172e-05/0.005295, allocations: 66.23 kB / 483.6 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.211e-05/0.005367, allocations: 44.12 kB / 483.6 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.005889, allocations: 393.5 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.005891, allocations: 0 / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005892, allocations: 0.7812 kB / 484 MB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.005898, allocations: 0 / 484 MB, free: 10.17 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005251/0.006423, allocations: 430.8 kB / 484.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.006465, allocations: 9.406 kB / 484.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.006499, allocations: 37.12 kB / 484.4 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007569/0.007256, allocations: 170.1 kB / 484.6 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.955e-05/0.007355, allocations: 125.2 kB / 484.7 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.007383, allocations: 4.562 kB / 484.7 MB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.007415, allocations: 8.344 kB / 484.7 MB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.007789, allocations: 173.8 kB / 484.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.007798, allocations: 2.156 kB / 484.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.007814, allocations: 0 / 484.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.00782, allocations: 4.344 kB / 484.9 MB, free: 9.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005745/0.008395, allocations: 222.8 kB / 485.1 MB, free: 9.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004726/0.008867, allocations: 344.5 kB / 485.5 MB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.009665, allocations: 331.1 kB / 485.8 MB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.009951, allocations: 125.5 kB / 485.9 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.00997, allocations: 5.547 kB / 485.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.009989, allocations: 41.09 kB / 486 MB, free: 9.086 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.00999, allocations: 2.062 kB / 486 MB, free: 9.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009617/0.01095, allocations: 376.4 kB / 486.3 MB, free: 8.996 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.01098, allocations: 53.78 kB / 486.4 MB, free: 8.934 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.01114, allocations: 210 kB / 486.6 MB, free: 8.801 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.01116, allocations: 30.89 kB / 486.6 MB, free: 8.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.814e-05/0.01121, allocations: 104.3 kB / 486.7 MB, free: 8.668 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.01124, allocations: 27.34 kB / 486.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.01133, allocations: 66.83 kB / 486.8 MB, free: 8.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.01156, allocations: 323.2 kB / 487.1 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.01189, allocations: 159.1 kB / 487.3 MB, free: 24.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.01235, allocations: 184.7 kB / 487.5 MB, free: 24.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.01317, allocations: 310.9 kB / 487.8 MB, free: 24.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.01317, allocations: 1.75 kB / 487.8 MB, free: 24.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006339/0.0138, allocations: 402.3 kB / 488.2 MB, free: 23.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01382, allocations: 4.625 kB / 488.2 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.01384, allocations: 6.812 kB / 488.2 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.01385, allocations: 1.062 kB / 488.2 MB, free: 23.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.01401, allocations: 45.2 kB / 488.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01401, allocations: 5.391 kB / 488.2 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01413, allocations: 44.19 kB / 488.3 MB, free: 23.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.01414, allocations: 8.438 kB / 488.3 MB, free: 23.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 8.639e-05/0.01423, allocations: 137.9 kB / 488.4 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/0.01426, allocations: 17.16 kB / 488.4 MB, free: 23.79 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.0143, allocations: 12.09 kB / 488.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.0143, allocations: 1.344 kB / 488.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01431, allocations: 1.562 kB / 488.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.01431, allocations: 0 / 488.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.01444, allocations: 186.9 kB / 488.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.01444, allocations: 0 / 488.6 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.01456, allocations: 41.22 kB / 488.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01456, allocations: 1.188 kB / 488.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.01457, allocations: 1.188 kB / 488.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01457, allocations: 1.875 kB / 488.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01458, allocations: 0 / 488.7 MB, free: 23.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004708/0.01505, allocations: 373.8 kB / 489 MB, free: 23.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.01506, allocations: 12.42 kB / 489.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.01508, allocations: 5.156 kB / 489.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.728e-05/0.01518, allocations: 15.92 kB / 489.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.0152, allocations: 6.969 kB / 489.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.01521, allocations: 7.078 kB / 489.1 MB, free: 23.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.387e-05/0.01528, allocations: 143.8 kB / 489.2 MB, free: 23.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01528, allocations: 0 / 489.2 MB, free: 23.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.0155, allocations: 47.38 kB / 489.3 MB, free: 23.3 MB / 426.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 (10): * Single equations (assignments): 10 * 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.0006838/0.01618, allocations: 0.9118 MB / 490.2 MB, free: 22.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.01671, allocations: 387.2 kB / 490.6 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01672, allocations: 1.312 kB / 490.6 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.01691, allocations: 124.9 kB / 490.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.01716, allocations: 26.42 kB / 490.7 MB, free: 22.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.01996, allocations: 2.587 MB / 493.3 MB, free: 20.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.921e-05/0.02005, allocations: 105.6 kB / 493.4 MB, free: 20.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000139/0.02019, allocations: 46.88 kB / 493.4 MB, free: 20.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.02029, allocations: 44.42 kB / 493.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02029, allocations: 0 / 493.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01856/0.03886, allocations: 5.427 MB / 498.9 MB, free: 19.48 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.431/7.47, allocations: 6.688 kB / 498.9 MB, free: 19.48 MB / 426.7 MB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InversePowerLaws.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_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_InversePowerLaws.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.031138826998358]