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.0008526/0.0008526, 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.0008058/0.0008058, 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.9273/0.9273, 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.6089/0.6089, allocations: 115 MB / 375.3 MB, free: 7.566 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 1.453e-06/1.453e-06, allocations: 0.5469 kB / 480.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.284e-05, allocations: 2.312 kB / 480.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.002294/0.002317, allocations: 1.369 MB / 481.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.00344, allocations: 0.8616 MB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.003491, allocations: 0 / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.003542, allocations: 8.516 kB / 482.5 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.003695, allocations: 31.53 kB / 482.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.004466, allocations: 223.7 kB / 482.8 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.004698, allocations: 181.7 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.004751, allocations: 6.312 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.004859, allocations: 71.42 kB / 483 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.005, allocations: 68.41 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.00503, allocations: 8.781 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005922/0.005622, allocations: 388 kB / 483.5 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.005713, allocations: 61.94 kB / 483.6 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.756e-05/0.005791, allocations: 47.58 kB / 483.6 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005242/0.006315, allocations: 392 kB / 484 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.006321, allocations: 0.7812 kB / 484 MB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.006324, allocations: 1.156 kB / 484 MB, free: 10.15 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.006333, allocations: 1.75 kB / 484 MB, free: 10.15 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.0006134/0.006947, allocations: 421.2 kB / 484.4 MB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.006997, allocations: 13.38 kB / 484.4 MB, free: 9.781 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.007029, allocations: 39.22 kB / 484.5 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006301/0.007659, allocations: 166.7 kB / 484.6 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.654e-05/0.007755, allocations: 126.1 kB / 484.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.007779, allocations: 4.25 kB / 484.7 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.007802, allocations: 8.719 kB / 484.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.008097, allocations: 175.6 kB / 484.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.008104, allocations: 0 / 484.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.008119, allocations: 1.438 kB / 484.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.008125, allocations: 2.438 kB / 484.9 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.008587, allocations: 224 kB / 485.1 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004053/0.008992, allocations: 347.4 kB / 485.5 MB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.009574, allocations: 333.9 kB / 485.8 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.00978, allocations: 127.6 kB / 485.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.009798, allocations: 2.781 kB / 485.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.009816, allocations: 35.97 kB / 486 MB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.595e-06/0.009818, allocations: 3.938 kB / 486 MB, free: 9.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007231/0.01054, allocations: 378.6 kB / 486.3 MB, free: 8.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.01057, allocations: 52.94 kB / 486.4 MB, free: 8.918 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.01071, allocations: 208.5 kB / 486.6 MB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.01073, allocations: 33.64 kB / 486.6 MB, free: 8.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.01077, allocations: 104 kB / 486.7 MB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.01079, allocations: 29.75 kB / 486.8 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-05/0.01087, allocations: 67.3 kB / 486.8 MB, free: 8.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.01111, allocations: 323.3 kB / 487.1 MB, free: 24.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.01138, allocations: 161.1 kB / 487.3 MB, free: 24.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.01164, allocations: 181.9 kB / 487.5 MB, free: 24.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004515/0.01209, allocations: 310.8 kB / 487.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01209, allocations: 0 / 487.8 MB, free: 24.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005835/0.01268, allocations: 402.6 kB / 488.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.01269, allocations: 5.375 kB / 488.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.01272, allocations: 7.094 kB / 488.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.01273, allocations: 2.344 kB / 488.2 MB, free: 23.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.0129, allocations: 42.92 kB / 488.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.0129, allocations: 7.047 kB / 488.2 MB, free: 23.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.01303, allocations: 39.47 kB / 488.3 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.01305, allocations: 8.5 kB / 488.3 MB, free: 23.91 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 0.0001113/0.01316, allocations: 136.9 kB / 488.4 MB, free: 23.78 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.0132, allocations: 17.94 kB / 488.4 MB, free: 23.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.01324, allocations: 12.38 kB / 488.4 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.01325, allocations: 1.406 kB / 488.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01325, allocations: 3.281 kB / 488.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.01326, allocations: 1.156 kB / 488.5 MB, free: 23.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.01342, allocations: 179.3 kB / 488.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01343, allocations: 0.5625 kB / 488.6 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.01355, allocations: 38.64 kB / 488.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01355, allocations: 2 kB / 488.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01357, allocations: 4.422 kB / 488.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.01357, allocations: 1.062 kB / 488.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01357, allocations: 1.438 kB / 488.7 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004812/0.01405, allocations: 372 kB / 489 MB, free: 23.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.01408, allocations: 8.578 kB / 489 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.0141, allocations: 5.25 kB / 489.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.985e-05/0.0142, allocations: 15.62 kB / 489.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.079e-05/0.01423, allocations: 9.797 kB / 489.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.01424, allocations: 5.953 kB / 489.1 MB, free: 23.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.219e-05/0.01432, allocations: 145.3 kB / 489.2 MB, free: 23.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01432, allocations: 0 / 489.2 MB, free: 23.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002464/0.01457, allocations: 46.69 kB / 489.3 MB, free: 23.29 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.0007857/0.01535, allocations: 0.9216 MB / 490.2 MB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005717/0.01593, allocations: 384.8 kB / 490.6 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.01593, allocations: 0 / 490.6 MB, free: 22.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.01612, allocations: 125.9 kB / 490.7 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.0002689/0.01639, allocations: 26.86 kB / 490.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.01934, allocations: 2.589 MB / 493.3 MB, free: 20.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.237e-05/0.01943, allocations: 104.4 kB / 493.4 MB, free: 20.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.01957, allocations: 48.3 kB / 493.5 MB, free: 20.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.514e-05/0.01967, allocations: 44.06 kB / 493.5 MB, free: 20.71 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01967, allocations: 0 / 493.5 MB, free: 20.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/0.04104, allocations: 5.444 MB / 498.9 MB, free: 19.47 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.052/7.093, allocations: 11.45 kB / 499 MB, free: 19.46 MB / 426.7 MB " [Timeout remaining time 653] (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: 9.641783402010333]