Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.001198/0.001198, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001503/0.001503, allocations: 169.9 kB / 23.2 MB, free: 1.359 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.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.5536/0.5536, allocations: 114 MB / 373.9 MB, free: 8.691 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.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.148e-06/4.148e-06, allocations: 4 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/2.08e-05, allocations: 3.828 kB / 0.5542 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001591/0.001612, allocations: 1.295 MB / 0.5555 GB, free: 1.465 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.002397, allocations: 0.5253 MB / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.002423, allocations: 0 / 0.556 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.002446, allocations: 3.984 kB / 0.556 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.002492, allocations: 3.938 kB / 0.556 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004289/0.002921, allocations: 147.3 kB / 0.5561 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.405e-05/0.002975, allocations: 15.88 kB / 0.5561 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.003024, allocations: 3.984 kB / 0.5561 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.003063, allocations: 12 kB / 0.5561 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.679e-05/0.00312, allocations: 7.984 kB / 0.5562 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.003137, allocations: 7.922 kB / 0.5562 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.00341, allocations: 275.4 kB / 0.5564 GB, free: 480 kB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.003424, allocations: 3.938 kB / 0.5564 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.003442, allocations: 4 kB / 0.5564 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.003632, allocations: 159.5 kB / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.003634, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003635, allocations: 0 / 0.5566 GB, free: 312 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.003639, allocations: 0 / 0.5566 GB, free: 312 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003198/0.003959, allocations: 282 kB / 0.5569 GB, free: 0 / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.004007, allocations: 8.672 kB / 0.5569 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.004034, allocations: 34.75 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.96e-05/0.004054, allocations: 4.891 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.611e-05/0.00412, allocations: 105.7 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.004129, allocations: 4.375 kB / 0.557 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.004138, allocations: 8.375 kB / 0.557 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.76e-05/0.004226, allocations: 53.89 kB / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.004232, allocations: 0 / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00424, allocations: 0 / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004244, allocations: 0 / 0.5571 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.07e-05/0.004285, allocations: 19.98 kB / 0.5571 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.004538, allocations: 220 kB / 0.5573 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.004696, allocations: 46.48 kB / 0.5573 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.004721, allocations: 16.92 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.00474, allocations: 0 / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.004757, allocations: 42.56 kB / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004758, allocations: 0 / 0.5574 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001422/0.0049, allocations: 49.69 kB / 0.5574 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.004928, allocations: 59.34 kB / 0.5575 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.305e-05/0.004981, allocations: 101.8 kB / 0.5576 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.00499, allocations: 25.7 kB / 0.5576 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.005028, allocations: 92.02 kB / 0.5577 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.007e-06/0.005037, allocations: 15.84 kB / 0.5577 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.005062, allocations: 17.7 kB / 0.5577 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.005137, allocations: 318.8 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.005152, allocations: 8 kB / 0.558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.005175, allocations: 25.7 kB / 0.5581 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.722e-05/0.005212, allocations: 29.66 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005215, allocations: 4 kB / 0.5581 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.698e-05/0.005272, allocations: 53.62 kB / 0.5582 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.005283, allocations: 4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.005288, allocations: 4 kB / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.005298, allocations: 0 / 0.5582 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.123e-05/0.00533, allocations: 8 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.005335, allocations: 4.031 kB / 0.5582 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.399e-05/0.005349, allocations: 11.92 kB / 0.5582 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005353, allocations: 4 kB / 0.5582 GB, free: 14.45 MB / 0.5261 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 4.808e-05/0.005402, allocations: 109.8 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.005412, allocations: 3.953 kB / 0.5583 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.976e-05/0.005502, allocations: 57.38 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.005504, allocations: 0 / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005508, allocations: 4 kB / 0.5584 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.005511, allocations: 3.984 kB / 0.5584 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.374e-05/0.005605, allocations: 124.7 kB / 0.5585 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.005606, allocations: 4 kB / 0.5585 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.005624, allocations: 12 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.005625, allocations: 0 / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.005632, allocations: 4.109 kB / 0.5585 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.005635, allocations: 11.88 kB / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005635, allocations: 0 / 0.5585 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.844e-05/0.005714, allocations: 147.9 kB / 0.5587 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-06/0.005722, allocations: 11.89 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.909e-06/0.005732, allocations: 4 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.485e-05/0.005756, allocations: 0 / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.00577, allocations: 4 kB / 0.5587 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.005771, allocations: 4 kB / 0.5587 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.836e-05/0.0058, allocations: 79.27 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.0058, allocations: 4 kB / 0.5588 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001538/0.005953, allocations: 19.88 kB / 0.5588 GB, free: 13.78 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 (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.0005456/0.006499, allocations: 0.7006 MB / 0.5595 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.141e-05/0.00657, allocations: 19.98 kB / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006572, allocations: 0 / 0.5595 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.311e-05/0.006585, allocations: 15.92 kB / 0.5595 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.006734, allocations: 14.41 kB / 0.5595 GB, free: 13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000319/0.007053, allocations: 146.5 kB / 0.5596 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.247e-05/0.007096, allocations: 59.34 kB / 0.5597 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.29e-05/0.007119, allocations: 7.984 kB / 0.5597 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.007145, allocations: 12.5 kB / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of SimCode: time 5.31e-07/0.007146, allocations: 0 / 0.5597 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.02162, allocations: 2.036 MB / 0.5617 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.315, allocations: 4.062 kB / 0.5617 GB, free: 10.84 MB / 0.5261 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions_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_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.929090690799057] Failed to read output from testmodel.py, exit status != 0: 7.393572974950075 7.405064232 7.399407948 Calling exit ...