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.000833/0.000833, allocations: 99.75 kB / 19.7 MB, free: 448 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.0008796/0.0008796, allocations: 206.9 kB / 22.99 MB, free: 2.98 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.9334/0.9334, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.6592/0.6592, allocations: 151.3 MB / 464.5 MB, free: 13.01 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.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: 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.001038/0.001038, allocations: 64.89 kB / 0.6433 GB, free: 17.96 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1538, allocations: 89.56 MB / 0.7308 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingPowerLaw_dp): time 0.001984/0.1558, allocations: 1.335 MB / 0.7321 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0009555/0.1567, allocations: 0.8485 MB / 0.7329 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.679e-05/0.1568, allocations: 0 / 0.7329 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1568, allocations: 3.938 kB / 0.7329 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 7.528e-05/0.1569, allocations: 7.938 kB / 0.7329 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007208/0.1576, allocations: 213.8 kB / 0.7331 GB, free: 5.957 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1577, allocations: 39.73 kB / 0.7332 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.1578, allocations: 7.984 kB / 0.7332 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 3.679e-05/0.1578, allocations: 15.92 kB / 0.7332 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.1578, allocations: 15.94 kB / 0.7332 GB, free: 5.879 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.1579, allocations: 4 kB / 0.7332 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004739/0.1583, allocations: 371.5 kB / 0.7336 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.1584, allocations: 8 kB / 0.7336 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.012e-05/0.1584, allocations: 15.86 kB / 0.7336 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1587, allocations: 255.3 kB / 0.7338 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.1587, allocations: 0 / 0.7338 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1587, allocations: 0 / 0.7338 GB, free: 5.238 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.1587, allocations: 0 / 0.7338 GB, free: 5.238 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004277/0.1592, allocations: 341.3 kB / 0.7342 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1592, allocations: 8.031 kB / 0.7342 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.1592, allocations: 46.61 kB / 0.7342 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1594, allocations: 20.88 kB / 0.7342 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.1595, allocations: 118.5 kB / 0.7343 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1595, allocations: 4.375 kB / 0.7343 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.1595, allocations: 4.125 kB / 0.7343 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.1596, allocations: 41.69 kB / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.1596, allocations: 0 / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1597, allocations: 0 / 0.7344 GB, free: 4.598 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1597, allocations: 3.984 kB / 0.7344 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.276e-05/0.1597, allocations: 27.97 kB / 0.7344 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.1599, allocations: 136.7 kB / 0.7346 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.16, allocations: 38.5 kB / 0.7346 GB, free: 4.344 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.16, allocations: 20.84 kB / 0.7346 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.16, allocations: 0 / 0.7346 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.16, allocations: 30.56 kB / 0.7346 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.16, allocations: 0 / 0.7346 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.1602, allocations: 69.67 kB / 0.7347 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.1602, allocations: 55.34 kB / 0.7348 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.1603, allocations: 130 kB / 0.7349 GB, free: 4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1603, allocations: 33.7 kB / 0.7349 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.961e-05/0.1604, allocations: 80.14 kB / 0.735 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.1604, allocations: 7.938 kB / 0.735 GB, free: 3.871 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.1604, allocations: 21.72 kB / 0.735 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.177e-05/0.1605, allocations: 322.8 kB / 0.7353 GB, free: 3.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.959e-05/0.1606, allocations: 19.98 kB / 0.7353 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.74e-05/0.1606, allocations: 19.98 kB / 0.7354 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.1607, allocations: 56.95 kB / 0.7354 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1607, allocations: 0 / 0.7354 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001262/0.1608, allocations: 93.5 kB / 0.7355 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1608, allocations: 4 kB / 0.7355 GB, free: 3.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.1608, allocations: 4 kB / 0.7355 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.1609, allocations: 0 / 0.7355 GB, free: 3.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/0.1613, allocations: 83.88 kB / 0.7356 GB, free: 3.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.1627, allocations: 1.399 MB / 0.737 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.017e-05/0.1627, allocations: 11.92 kB / 0.737 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1628, allocations: 4 kB / 0.737 GB, free: 1.703 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 (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 6.143e-05/0.1628, allocations: 113.8 kB / 0.7371 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-06/0.1628, allocations: 3.984 kB / 0.7371 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.965e-06/0.1628, allocations: 3.625 kB / 0.7371 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1628, allocations: 4 kB / 0.7371 GB, free: 1.574 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1628, allocations: 7.938 kB / 0.7371 GB, free: 1.566 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1628, allocations: 4.094 kB / 0.7371 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.692e-05/0.1629, allocations: 132.7 kB / 0.7372 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1629, allocations: 0 / 0.7372 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.1634, allocations: 103.9 kB / 0.7373 GB, free: 1.289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1634, allocations: 3.938 kB / 0.7373 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1634, allocations: 0 / 0.7373 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001047/0.1644, allocations: 1.403 MB / 0.7387 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1644, allocations: 0 / 0.7387 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.739e-05/0.1645, allocations: 89.03 kB / 0.7388 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.1645, allocations: 7.953 kB / 0.7388 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-06/0.1646, allocations: 0 / 0.7388 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.1646, allocations: 0 / 0.7388 GB, free: 15.65 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1646, allocations: 7.984 kB / 0.7388 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1646, allocations: 4.125 kB / 0.7388 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.1646, allocations: 101.6 kB / 0.7389 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1646, allocations: 0 / 0.7389 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001963/0.1648, allocations: 27.94 kB / 0.7389 GB, free: 15.52 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 (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.0003531/0.1652, allocations: 0.6279 MB / 0.7395 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005629/0.1657, allocations: 153.6 kB / 0.7397 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1657, allocations: 0 / 0.7397 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.1663, allocations: 123.8 kB / 0.7398 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.1665, allocations: 2.234 kB / 0.7398 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.1676, allocations: 1.276 MB / 0.7411 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.521e-05/0.1676, allocations: 67.34 kB / 0.7411 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.1677, allocations: 7.859 kB / 0.7411 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1677, allocations: 15.42 kB / 0.7411 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/0.1677, allocations: 0 / 0.7411 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.1848, allocations: 2.938 MB / 0.744 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.872/8.057, allocations: 14.41 kB / 0.744 GB, free: 10.3 MB / 0.5573 GB " [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.90611539800011]