Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.0008285/0.0008285, 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.001054/0.001054, 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.956/0.956, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.6492/0.6492, allocations: 151.4 MB / 464.5 MB, free: 13.04 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.PowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp",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.0009599/0.0009599, allocations: 67.33 kB / 0.6433 GB, free: 17.99 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1559, allocations: 89.55 MB / 0.7308 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp): time 0.001915/0.1578, allocations: 1.399 MB / 0.7322 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1588, allocations: 0.997 MB / 0.7331 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.1589, allocations: 0 / 0.7331 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.1589, allocations: 3.938 kB / 0.7331 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.159, allocations: 19.84 kB / 0.7332 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000526/0.1595, allocations: 242.9 kB / 0.7334 GB, free: 5.746 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.1596, allocations: 67.7 kB / 0.7335 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1597, allocations: 7.984 kB / 0.7335 GB, free: 5.672 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 3.782e-05/0.1597, allocations: 31.86 kB / 0.7335 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.1598, allocations: 35.83 kB / 0.7335 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1598, allocations: 4 kB / 0.7335 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.1602, allocations: 403.5 kB / 0.7339 GB, free: 5.207 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.1602, allocations: 15.92 kB / 0.7339 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1602, allocations: 27.8 kB / 0.734 GB, free: 5.164 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1606, allocations: 307 kB / 0.7342 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1606, allocations: 0 / 0.7342 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1606, allocations: 0 / 0.7342 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.1606, allocations: 0 / 0.7342 GB, free: 4.863 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004428/0.161, allocations: 393 kB / 0.7346 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.161, allocations: 12.03 kB / 0.7346 GB, free: 4.438 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.687e-05/0.1611, allocations: 30.75 kB / 0.7347 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.1614, allocations: 60.75 kB / 0.7347 GB, free: 4.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.1615, allocations: 126.4 kB / 0.7348 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.1615, allocations: 7.938 kB / 0.7348 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1615, allocations: 4 kB / 0.7349 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1617, allocations: 65.64 kB / 0.7349 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1617, allocations: 0 / 0.7349 GB, free: 4.109 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1617, allocations: 4 kB / 0.7349 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1617, allocations: 0 / 0.7349 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1618, allocations: 43.95 kB / 0.735 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.1621, allocations: 156.6 kB / 0.7351 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1623, allocations: 94.47 kB / 0.7352 GB, free: 3.766 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.551e-05/0.1623, allocations: 28.89 kB / 0.7352 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.1624, allocations: 0 / 0.7352 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.1624, allocations: 34.56 kB / 0.7353 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.1624, allocations: 0 / 0.7353 GB, free: 3.691 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0002724/0.1626, allocations: 105.6 kB / 0.7354 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.1627, allocations: 59.41 kB / 0.7354 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.1628, allocations: 151.7 kB / 0.7356 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1628, allocations: 29.64 kB / 0.7356 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.1628, allocations: 96.12 kB / 0.7357 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1628, allocations: 15.83 kB / 0.7357 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.1629, allocations: 33.7 kB / 0.7357 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.1629, allocations: 322.8 kB / 0.736 GB, free: 2.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.62e-05/0.163, allocations: 47.97 kB / 0.7361 GB, free: 2.797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1631, allocations: 43.97 kB / 0.7361 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.1633, allocations: 95.7 kB / 0.7362 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1633, allocations: 4 kB / 0.7362 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002031/0.1635, allocations: 145.6 kB / 0.7364 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1635, allocations: 8 kB / 0.7364 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.1635, allocations: 0 / 0.7364 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1635, allocations: 0 / 0.7364 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.889e-05/0.1636, allocations: 23.92 kB / 0.7364 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1636, allocations: 3.938 kB / 0.7364 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.1637, allocations: 15.88 kB / 0.7364 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.1637, allocations: 4 kB / 0.7364 GB, free: 2.453 MB / 0.5417 GB 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 (8): * Single equations (assignments): 7 * 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 6.195e-05/0.1638, allocations: 125.7 kB / 0.7365 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.1638, allocations: 7.953 kB / 0.7365 GB, free: 2.312 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.661e-05/0.1638, allocations: 8.344 kB / 0.7365 GB, free: 2.297 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1638, allocations: 4 kB / 0.7366 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1638, allocations: 3.984 kB / 0.7366 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1638, allocations: 0 / 0.7366 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.936e-05/0.1639, allocations: 140.6 kB / 0.7367 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.1639, allocations: 3.938 kB / 0.7367 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.221e-05/0.1639, allocations: 15.98 kB / 0.7367 GB, free: 2.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1639, allocations: 4 kB / 0.7367 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.1639, allocations: 0 / 0.7367 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1639, allocations: 0 / 0.7367 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1639, allocations: 0 / 0.7367 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1641, allocations: 120.9 kB / 0.7368 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.1641, allocations: 11.89 kB / 0.7368 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.1641, allocations: 4 kB / 0.7368 GB, free: 1.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-05/0.1642, allocations: 7.984 kB / 0.7368 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.338e-05/0.1642, allocations: 0 / 0.7368 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.1642, allocations: 11.98 kB / 0.7369 GB, free: 1.914 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.1643, allocations: 109.5 kB / 0.737 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.1643, allocations: 0 / 0.737 GB, free: 1.809 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001564/0.1644, allocations: 28 kB / 0.737 GB, free: 1.781 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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.0003809/0.1648, allocations: 0.6669 MB / 0.7376 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.165, allocations: 113.6 kB / 0.7378 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.165, allocations: 4 kB / 0.7378 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.003e-05/0.1651, allocations: 28.2 kB / 0.7378 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1653, allocations: 8.297 kB / 0.7378 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.1667, allocations: 1.578 MB / 0.7393 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.1667, allocations: 79.31 kB / 0.7394 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 4.903e-05/0.1667, allocations: 8 kB / 0.7394 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.1668, allocations: 23.42 kB / 0.7394 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.1668, allocations: 0 / 0.7394 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.1846, allocations: 3.706 MB / 0.7431 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.145, allocations: 10.64 kB / 0.7431 GB, free: 11.56 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp_OMSimulator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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_PowerLaw_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.008152733993484]