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.0008106/0.0008106, allocations: 103.7 kB / 19.7 MB, free: 452 kB / 13.93 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.0008919/0.0008919, allocations: 208.1 kB / 22.99 MB, free: 2.977 MB / 13.93 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.9683/0.9683, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.6041/0.6041, allocations: 151.3 MB / 464.5 MB, free: 13 MB / 362.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 68.55 kB / 0.6433 GB, free: 17.99 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1558, allocations: 89.56 MB / 0.7308 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InversePowerLaws): time 0.001801/0.1576, allocations: 1.366 MB / 0.7321 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009266/0.1585, allocations: 0.8758 MB / 0.733 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.042e-05/0.1586, allocations: 0 / 0.733 GB, free: 6.156 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 4.052e-05/0.1586, allocations: 11.92 kB / 0.733 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.1587, allocations: 15.86 kB / 0.733 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004916/0.1592, allocations: 223 kB / 0.7332 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1594, allocations: 171.6 kB / 0.7334 GB, free: 5.742 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.1594, allocations: 4 kB / 0.7334 GB, free: 5.738 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.1595, allocations: 59.89 kB / 0.7334 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1596, allocations: 79.78 kB / 0.7335 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1596, allocations: 8 kB / 0.7335 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.1602, allocations: 383.5 kB / 0.7339 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.1602, allocations: 63.81 kB / 0.734 GB, free: 5.156 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 5.228e-05/0.1603, allocations: 43.8 kB / 0.734 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.1607, allocations: 358.9 kB / 0.7343 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1607, allocations: 0 / 0.7343 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1607, allocations: 0 / 0.7343 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.1607, allocations: 3.984 kB / 0.7343 GB, free: 4.758 MB / 0.5417 GB 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.0004752/0.1612, allocations: 416.8 kB / 0.7347 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1612, allocations: 12.03 kB / 0.7347 GB, free: 4.309 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1612, allocations: 38.75 kB / 0.7348 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005573/0.1618, allocations: 112.7 kB / 0.7349 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.1619, allocations: 131.1 kB / 0.735 GB, free: 3.996 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.162, allocations: 8.375 kB / 0.735 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.162, allocations: 8.125 kB / 0.735 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.1624, allocations: 173.5 kB / 0.7352 GB, free: 3.805 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1624, allocations: 3.938 kB / 0.7352 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.1625, allocations: 4 kB / 0.7352 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1625, allocations: 0 / 0.7352 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/0.1631, allocations: 219.7 kB / 0.7354 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005738/0.1637, allocations: 355.5 kB / 0.7358 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007793/0.1645, allocations: 322.3 kB / 0.7361 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.1647, allocations: 128.8 kB / 0.7362 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1647, allocations: 8 kB / 0.7362 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1647, allocations: 34.56 kB / 0.7362 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.1647, allocations: 0 / 0.7362 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10): time 0.000693/0.1654, allocations: 373.2 kB / 0.7366 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.1654, allocations: 55.39 kB / 0.7366 GB, free: 2.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.1656, allocations: 211.1 kB / 0.7368 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1656, allocations: 33.64 kB / 0.7369 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.1656, allocations: 100.5 kB / 0.737 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1657, allocations: 39.69 kB / 0.737 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/0.1657, allocations: 61.67 kB / 0.7371 GB, free: 1.789 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.1658, allocations: 330.8 kB / 0.7374 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.1661, allocations: 155.9 kB / 0.7375 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.1663, allocations: 185.6 kB / 0.7377 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1668, allocations: 300.3 kB / 0.738 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1668, allocations: 0 / 0.738 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005456/0.1673, allocations: 393.3 kB / 0.7384 GB, free: 440 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1673, allocations: 4 kB / 0.7384 GB, free: 436 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.1674, allocations: 11.98 kB / 0.7384 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1674, allocations: 0 / 0.7384 GB, free: 424 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1675, allocations: 39.95 kB / 0.7384 GB, free: 384 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.1675, allocations: 3.938 kB / 0.7384 GB, free: 380 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.1676, allocations: 47.69 kB / 0.7385 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1677, allocations: 7.984 kB / 0.7385 GB, free: 324 kB / 0.5417 GB 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.773e-05/0.1677, allocations: 133.7 kB / 0.7386 GB, free: 180 kB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/0.1678, allocations: 12.28 kB / 0.7386 GB, free: 168 kB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.1678, allocations: 17.39 kB / 0.7386 GB, free: 148 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1678, allocations: 4 kB / 0.7386 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1678, allocations: 0 / 0.7386 GB, free: 144 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1678, allocations: 3.938 kB / 0.7386 GB, free: 140 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.168, allocations: 176.6 kB / 0.7388 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.168, allocations: 0 / 0.7388 GB, free: 15.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1681, allocations: 43.95 kB / 0.7388 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1681, allocations: 3.938 kB / 0.7388 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.1681, allocations: 112 / 0.7388 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1681, allocations: 7.938 kB / 0.7389 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1681, allocations: 0 / 0.7389 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.1686, allocations: 371.1 kB / 0.7392 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.1686, allocations: 19.84 kB / 0.7392 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1686, allocations: 0 / 0.7392 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1687, allocations: 11.98 kB / 0.7392 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.1687, allocations: 11.98 kB / 0.7393 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1688, allocations: 7.984 kB / 0.7393 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.114e-05/0.1688, allocations: 133.2 kB / 0.7394 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 0.7394 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002158/0.169, allocations: 48 kB / 0.7394 GB, free: 15.26 MB / 0.5573 GB 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.0008293/0.1699, allocations: 0.9073 MB / 0.7403 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008081/0.1707, allocations: 387.2 kB / 0.7407 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1707, allocations: 64 / 0.7407 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.171, allocations: 131.9 kB / 0.7408 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.1714, allocations: 23.72 kB / 0.7408 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004114/0.1755, allocations: 2.58 MB / 0.7434 GB, free: 11.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.1756, allocations: 104.7 kB / 0.7435 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.1757, allocations: 48.39 kB / 0.7435 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1758, allocations: 43.41 kB / 0.7435 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.633e-06/0.1759, allocations: 3.938 kB / 0.7435 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02455/0.2004, allocations: 5.053 MB / 0.7485 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.075/7.275, allocations: 17.31 kB / 0.7485 GB, free: 5.965 MB / 0.5573 GB " [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: 10.070380404999014]