Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007088/0.0007088, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009849/0.0009849, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8869/0.8869, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00141/0.00141, allocations: 233.8 kB / 259.4 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.67/0.67, allocations: 138.4 MB / 454.3 MB, free: 30.07 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.6463 GB, free: 1.859 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.977e-05/2.153e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.852 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001993/0.002015, allocations: 1.605 MB / 0.6479 GB, free: 236 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.244/0.246, allocations: 0.5561 MB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.39e-05/0.2461, allocations: 4.734 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2462, allocations: 14.27 kB / 0.6484 GB, free: 55.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.318e-05/0.2462, allocations: 15.73 kB / 0.6484 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/0.2465, allocations: 63.42 kB / 0.6485 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2467, allocations: 89.62 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.2468, allocations: 29.31 kB / 0.6486 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.247, allocations: 63.2 kB / 0.6487 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.2471, allocations: 33.19 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2471, allocations: 6.312 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.2472, allocations: 17.22 kB / 0.6487 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2472, allocations: 22.22 kB / 0.6488 GB, free: 55.83 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.2473, allocations: 26.61 kB / 0.6488 GB, free: 55.82 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.2475, allocations: 103.2 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2475, allocations: 1.344 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2475, allocations: 1.406 kB / 0.6489 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2475, allocations: 0 / 0.6489 GB, free: 55.81 MB / 0.5573 GB 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.0003925/0.2479, allocations: 334.3 kB / 0.6492 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2479, allocations: 14.09 kB / 0.6492 GB, free: 55.52 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.2479, allocations: 38.52 kB / 0.6493 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.2481, allocations: 37.52 kB / 0.6493 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.2483, allocations: 154.2 kB / 0.6494 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.2483, allocations: 7.266 kB / 0.6494 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2484, allocations: 7.719 kB / 0.6495 GB, free: 55.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.2485, allocations: 109.2 kB / 0.6496 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.2485, allocations: 0.5938 kB / 0.6496 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2486, allocations: 5.031 kB / 0.6496 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2486, allocations: 2.125 kB / 0.6496 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001448/0.2487, allocations: 97.59 kB / 0.6497 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.2491, allocations: 338.3 kB / 0.65 GB, free: 55.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.618e-05/0.2492, allocations: 61.67 kB / 0.65 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.932e-05/0.2493, allocations: 46.03 kB / 0.6501 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2493, allocations: 4.531 kB / 0.6501 GB, free: 55.02 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.2493, allocations: 36.06 kB / 0.6501 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.2493, allocations: 1.656 kB / 0.6501 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0003075/0.2496, allocations: 164.7 kB / 0.6503 GB, free: 54.94 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.2497, allocations: 52.44 kB / 0.6503 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.2497, allocations: 148 kB / 0.6505 GB, free: 54.77 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-06/0.2497, allocations: 29.55 kB / 0.6505 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.2498, allocations: 104.6 kB / 0.6506 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.2498, allocations: 24.2 kB / 0.6506 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.2498, allocations: 20.8 kB / 0.6506 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.284e-05/0.2499, allocations: 320.6 kB / 0.6509 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.002e-05/0.2499, allocations: 44.73 kB / 0.651 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.646e-05/0.25, allocations: 35.7 kB / 0.651 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.2501, allocations: 90.91 kB / 0.6511 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2501, allocations: 0 / 0.6511 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001519/0.2503, allocations: 125.8 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2503, allocations: 4.453 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.2503, allocations: 2.188 kB / 0.6512 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2503, allocations: 7.875 kB / 0.6512 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.2504, allocations: 21.45 kB / 0.6513 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2504, allocations: 0 / 0.6513 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.236e-05/0.2504, allocations: 8.078 kB / 0.6513 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.2504, allocations: 4.906 kB / 0.6513 GB, free: 54.26 MB / 0.5573 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 (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 4.758e-05/0.2505, allocations: 121.8 kB / 0.6514 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.2505, allocations: 16.47 kB / 0.6514 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.2507, allocations: 143.7 kB / 0.6515 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2507, allocations: 5.938 kB / 0.6516 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2507, allocations: 0 / 0.6516 GB, free: 54.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2507, allocations: 4.734 kB / 0.6516 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.2509, allocations: 174.9 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2509, allocations: 1.594 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.2509, allocations: 18.47 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.2509, allocations: 1.312 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.2509, allocations: 2.406 kB / 0.6517 GB, free: 53.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2509, allocations: 5.062 kB / 0.6517 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2509, allocations: 1.156 kB / 0.6517 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.2511, allocations: 222.3 kB / 0.652 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.2511, allocations: 9.375 kB / 0.652 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.2511, allocations: 1.125 kB / 0.652 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.2512, allocations: 16.73 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.2512, allocations: 9.812 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2512, allocations: 3.328 kB / 0.652 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.303e-05/0.2512, allocations: 108.2 kB / 0.6521 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2512, allocations: 0 / 0.6521 GB, free: 53.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000165/0.2514, allocations: 21.33 kB / 0.6521 GB, free: 53.71 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 (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.0003097/0.2517, allocations: 0.7583 MB / 0.6529 GB, free: 53.05 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.2519, allocations: 99.61 kB / 0.653 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2519, allocations: 5.969 kB / 0.653 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/0.252, allocations: 51.25 kB / 0.653 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.2521, allocations: 1.906 kB / 0.653 GB, free: 53.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.2533, allocations: 1.64 MB / 0.6546 GB, free: 51.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.208e-05/0.2533, allocations: 91.28 kB / 0.6547 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.2534, allocations: 17.62 kB / 0.6547 GB, free: 51.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.2534, allocations: 28.94 kB / 0.6547 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.2534, allocations: 1.125 kB / 0.6547 GB, free: 51.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.2685, allocations: 2.748 MB / 0.6574 GB, free: 50.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.42/6.688, allocations: 11.12 kB / 0.6574 GB, free: 50.9 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.339806192554533] Failed to read output from testmodel.py, exit status != 0: 6.7660659132525325 6.775198773 6.525864842 Calling exit ...