Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_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.001117/0.001117, allocations: 76.55 kB / 19.92 MB, free: 4.637 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.000898/0.000898, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.9213/0.9213, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5526/0.5526, allocations: 114 MB / 373.9 MB, free: 8.699 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.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.5542 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.45e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001818/0.001843, allocations: 1.276 MB / 0.5554 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.002498, allocations: 0.5137 MB / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.002521, allocations: 0 / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.002537, allocations: 0 / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.002576, allocations: 0 / 0.5559 GB, free: 1.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.003021, allocations: 151.2 kB / 0.5561 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.899e-05/0.00307, allocations: 11.94 kB / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.003107, allocations: 0 / 0.5561 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.003e-05/0.003137, allocations: 7.984 kB / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.003176, allocations: 0 / 0.5561 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.00319, allocations: 4 kB / 0.5561 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.003483, allocations: 271.4 kB / 0.5564 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.003497, allocations: 3.938 kB / 0.5564 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.003514, allocations: 4 kB / 0.5564 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.003718, allocations: 147.5 kB / 0.5565 GB, free: 424 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.003721, allocations: 4 kB / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of FrontEnd: time 6.312e-06/0.003727, allocations: 0 / 0.5565 GB, free: 420 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.003732, allocations: 0 / 0.5565 GB, free: 420 kB / 0.5105 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.000354/0.004086, allocations: 270.1 kB / 0.5568 GB, free: 120 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.00413, allocations: 12.62 kB / 0.5568 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.008e-05/0.00416, allocations: 30.75 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.004184, allocations: 0.9375 kB / 0.5568 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.768e-05/0.004282, allocations: 109.8 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.004292, allocations: 384 / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-06/0.0043, allocations: 4.312 kB / 0.5569 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.004394, allocations: 49.94 kB / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.004402, allocations: 0 / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.00441, allocations: 0 / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004416, allocations: 0 / 0.557 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.004441, allocations: 4 kB / 0.557 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.004569, allocations: 124.7 kB / 0.5571 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.913e-05/0.004619, allocations: 22.59 kB / 0.5571 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.004636, allocations: 12.91 kB / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.004656, allocations: 0 / 0.5571 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.004681, allocations: 42.44 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.004681, allocations: 4 kB / 0.5572 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001172/0.004798, allocations: 37.7 kB / 0.5572 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.004827, allocations: 55.39 kB / 0.5573 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.327e-05/0.00488, allocations: 97.86 kB / 0.5573 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.004889, allocations: 25.7 kB / 0.5574 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.745e-05/0.004917, allocations: 80.14 kB / 0.5574 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.00494, allocations: 11.88 kB / 0.5575 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.004963, allocations: 13.72 kB / 0.5575 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.005035, allocations: 314.8 kB / 0.5578 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.231e-05/0.005047, allocations: 12.23 kB / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.005054, allocations: 0 / 0.5578 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.005078, allocations: 16.8 kB / 0.5578 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00508, allocations: 4 kB / 0.5578 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.986e-05/0.00512, allocations: 33.7 kB / 0.5578 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.005132, allocations: 7.938 kB / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.005136, allocations: 0 / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.005146, allocations: 0 / 0.5578 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.005277, allocations: 11.98 kB / 0.5579 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/0.005531, allocations: 0.5861 MB / 0.5584 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.005542, allocations: 4 kB / 0.5584 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005548, allocations: 0 / 0.5584 GB, free: 14.22 MB / 0.5261 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 (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 prepare postOptimizeDAE: time 6.232e-05/0.00561, allocations: 113.8 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-06/0.005616, allocations: 7.984 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.133e-05/0.005698, allocations: 41.02 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.005699, allocations: 0 / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005703, allocations: 3.938 kB / 0.5586 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005707, allocations: 8.109 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.316e-05/0.00577, allocations: 124.7 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.005771, allocations: 4 kB / 0.5587 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.005819, allocations: 11.98 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.005821, allocations: 3.938 kB / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005826, allocations: 0 / 0.5587 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001827/0.006009, allocations: 0.5821 MB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.006011, allocations: 7.969 kB / 0.5593 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.38e-05/0.006054, allocations: 57.12 kB / 0.5594 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.006061, allocations: 8.125 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.006069, allocations: 4 kB / 0.5594 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.006077, allocations: 7.875 kB / 0.5594 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.291e-05/0.00609, allocations: 3.938 kB / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.006092, allocations: 0 / 0.5594 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.006115, allocations: 79.28 kB / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006115, allocations: 0 / 0.5595 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001348/0.00625, allocations: 11.94 kB / 0.5595 GB, free: 13.05 MB / 0.5261 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.000274/0.006524, allocations: 0.6048 MB / 0.5601 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001268/0.006651, allocations: 23.92 kB / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006653, allocations: 0 / 0.5601 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.433e-05/0.006687, allocations: 15.98 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001079/0.006795, allocations: 4.5 kB / 0.5601 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.007162, allocations: 132.9 kB / 0.5602 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.007199, allocations: 59.47 kB / 0.5603 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.311e-05/0.007212, allocations: 4 kB / 0.5603 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.007235, allocations: 16.44 kB / 0.5603 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.007236, allocations: 0 / 0.5603 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.02729, allocations: 1.937 MB / 0.5622 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.248, allocations: 4.625 kB / 0.5622 GB, free: 10.38 MB / 0.5261 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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_InvertingBasicFlowFunction_dp.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.910608253441751] Failed to read output from testmodel.py, exit status != 0: 8.33512529078871 8.343784108 8.338339382 Calling exit ...