Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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.0009188/0.0009188, allocations: 72.5 kB / 19.92 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.001083/0.001083, allocations: 173.9 kB / 23.21 MB, free: 1.348 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.9185/0.9185, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.5791/0.5791, 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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.5542 GB, free: 1.684 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.855e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.68 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002235/0.002264, allocations: 1.595 MB / 0.5557 GB, free: 76 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008365/0.0031, allocations: 0.5726 MB / 0.5563 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.003176, allocations: 11.94 kB / 0.5563 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.003286, allocations: 15.86 kB / 0.5563 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.211e-05/0.003318, allocations: 15.81 kB / 0.5563 GB, free: 15.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.003683, allocations: 55.86 kB / 0.5564 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.003809, allocations: 91.64 kB / 0.5565 GB, free: 15.31 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.00395, allocations: 31.84 kB / 0.5565 GB, free: 15.28 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001589/0.004109, allocations: 59.88 kB / 0.5566 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.004181, allocations: 27.95 kB / 0.5566 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.004199, allocations: 8 kB / 0.5566 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.818e-05/0.004277, allocations: 23.92 kB / 0.5566 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.086e-05/0.004318, allocations: 23.86 kB / 0.5567 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.004355, allocations: 27.91 kB / 0.5567 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004503, allocations: 95.69 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004504, allocations: 0 / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004505, allocations: 0 / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.00451, allocations: 0 / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004624/0.004972, allocations: 338.3 kB / 0.5571 GB, free: 14.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.005016, allocations: 8.625 kB / 0.5571 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.005055, allocations: 46.75 kB / 0.5571 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.005236, allocations: 36.84 kB / 0.5572 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.005465, allocations: 151.4 kB / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.005477, allocations: 384 / 0.5573 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.005492, allocations: 8.375 kB / 0.5573 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.005703, allocations: 113.1 kB / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.005711, allocations: 0 / 0.5574 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.005723, allocations: 8 kB / 0.5574 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.00573, allocations: 7.938 kB / 0.5575 GB, free: 14.25 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.005872, allocations: 91.92 kB / 0.5575 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.006327, allocations: 347.6 kB / 0.5579 GB, free: 13.78 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.093e-05/0.006418, allocations: 54.55 kB / 0.5579 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.006485, allocations: 48.95 kB / 0.558 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.00652, allocations: 3.938 kB / 0.558 GB, free: 13.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.00654, allocations: 34.56 kB / 0.558 GB, free: 13.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.006541, allocations: 0 / 0.558 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003021/0.006843, allocations: 165.5 kB / 0.5582 GB, free: 13.45 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.006875, allocations: 55.41 kB / 0.5582 GB, free: 13.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.555e-05/0.00696, allocations: 138.5 kB / 0.5584 GB, free: 13.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.006975, allocations: 29.7 kB / 0.5584 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.007035, allocations: 104.1 kB / 0.5585 GB, free: 13.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.007058, allocations: 23.94 kB / 0.5585 GB, free: 13.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.007089, allocations: 21.7 kB / 0.5585 GB, free: 13.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.007182, allocations: 318.8 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.007244, allocations: 39.97 kB / 0.5589 GB, free: 12.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/0.007299, allocations: 39.91 kB / 0.5589 GB, free: 12.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.00743, allocations: 100.8 kB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007432, allocations: 0 / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000167/0.007599, allocations: 121.6 kB / 0.5591 GB, free: 12.42 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.007612, allocations: 9.344 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.007619, allocations: 448 / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.007634, allocations: 3.938 kB / 0.5591 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.007715, allocations: 15.98 kB / 0.5591 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.007724, allocations: 11.92 kB / 0.5592 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.007759, allocations: 15.95 kB / 0.5592 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.007776, allocations: 4 kB / 0.5592 GB, free: 12.36 MB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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 6.405e-05/0.00784, allocations: 117.8 kB / 0.5593 GB, free: 12.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.007857, allocations: 7.953 kB / 0.5593 GB, free: 12.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.008066, allocations: 146.4 kB / 0.5594 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008069, allocations: 3.938 kB / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.008073, allocations: 0 / 0.5594 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.008077, allocations: 7.984 kB / 0.5594 GB, free: 12.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.008222, allocations: 164.7 kB / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.008223, allocations: 0 / 0.5596 GB, free: 11.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.008269, allocations: 23.91 kB / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.008271, allocations: 0 / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.008279, allocations: 0 / 0.5596 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.008282, allocations: 7.938 kB / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.008283, allocations: 0 / 0.5596 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.008469, allocations: 219.4 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.076e-05/0.00848, allocations: 19.83 kB / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.008492, allocations: 0 / 0.5599 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.704e-05/0.00854, allocations: 15.92 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.008577, allocations: 3.984 kB / 0.5599 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.008585, allocations: 8 kB / 0.5599 GB, free: 11.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.553e-05/0.008641, allocations: 111.4 kB / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008641, allocations: 0 / 0.56 GB, free: 11.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.008815, allocations: 15.95 kB / 0.56 GB, free: 11.44 MB / 490.7 MB 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 (6): * Single equations (assignments): 6 * 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.0004131/0.009228, allocations: 0.7749 MB / 0.5608 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001666/0.009395, allocations: 91.94 kB / 0.5609 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009397, allocations: 0 / 0.5609 GB, free: 10.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.945e-05/0.009466, allocations: 51.91 kB / 0.5609 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001639/0.00963, allocations: 10.5 kB / 0.5609 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.01085, allocations: 1.632 MB / 0.5625 GB, free: 8.777 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.01091, allocations: 88.31 kB / 0.5626 GB, free: 8.668 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.047e-05/0.01096, allocations: 19.92 kB / 0.5626 GB, free: 8.648 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.01101, allocations: 28.48 kB / 0.5626 GB, free: 8.621 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01101, allocations: 0 / 0.5626 GB, free: 8.621 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01574/0.02674, allocations: 2.739 MB / 0.5653 GB, free: 6.031 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/6.966, allocations: 11.55 kB / 0.5653 GB, free: 6.023 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions_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_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.54029590729624] Failed to read output from testmodel.py, exit status != 0: 7.045403451658785 7.057099027 7.050725265 Calling exit ...