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.0007462/0.0007462, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001088/0.001088, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8335/0.8335, 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.001469/0.001469, allocations: 233.1 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.6553/0.6553, allocations: 138.4 MB / 454.3 MB, free: 29.96 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.563e-06/1.563e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.003e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002005/0.002025, allocations: 1.611 MB / 0.6479 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2397/0.2417, allocations: 0.5501 MB / 0.6484 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.189e-05/0.2418, allocations: 4.562 kB / 0.6484 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2419, allocations: 13.97 kB / 0.6484 GB, free: 55.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 3.014e-05/0.2419, allocations: 19.61 kB / 0.6484 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.2422, allocations: 65.42 kB / 0.6485 GB, free: 55.8 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001362/0.2424, allocations: 89.77 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.2425, allocations: 30.77 kB / 0.6486 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2427, allocations: 58.58 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.648e-05/0.2427, allocations: 28.92 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2428, allocations: 8.375 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.2428, allocations: 19.36 kB / 0.6487 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.2429, allocations: 25.44 kB / 0.6488 GB, free: 55.78 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.905e-05/0.2429, allocations: 24.09 kB / 0.6488 GB, free: 55.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001832/0.2431, allocations: 103.6 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2431, allocations: 0.7188 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2431, allocations: 2.297 kB / 0.6489 GB, free: 55.76 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2431, allocations: 0.875 kB / 0.6489 GB, free: 55.76 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.0003872/0.2435, allocations: 337.7 kB / 0.6492 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2435, allocations: 12.56 kB / 0.6492 GB, free: 55.46 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.2436, allocations: 38.8 kB / 0.6493 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.2437, allocations: 36.53 kB / 0.6493 GB, free: 55.42 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.244, allocations: 151.6 kB / 0.6494 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.244, allocations: 3.125 kB / 0.6494 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.244, allocations: 13.75 kB / 0.6494 GB, free: 55.28 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2442, allocations: 108.6 kB / 0.6496 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2442, allocations: 1.094 kB / 0.6496 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2442, allocations: 0 / 0.6496 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2442, allocations: 4.281 kB / 0.6496 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.2443, allocations: 94.03 kB / 0.6496 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.2447, allocations: 342.6 kB / 0.65 GB, free: 55 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.805e-05/0.2448, allocations: 54.98 kB / 0.65 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.2449, allocations: 48.62 kB / 0.6501 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.245, allocations: 4.219 kB / 0.6501 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.245, allocations: 31.88 kB / 0.6501 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.245, allocations: 8.469 kB / 0.6501 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6): time 0.0003116/0.2453, allocations: 161.3 kB / 0.6503 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.2453, allocations: 57.5 kB / 0.6503 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.2454, allocations: 139.2 kB / 0.6505 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.275e-06/0.2454, allocations: 34.3 kB / 0.6505 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.2454, allocations: 106.8 kB / 0.6506 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.2454, allocations: 19.61 kB / 0.6506 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.2455, allocations: 21.52 kB / 0.6506 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.408e-05/0.2455, allocations: 320.3 kB / 0.6509 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.2456, allocations: 45.08 kB / 0.651 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.2456, allocations: 35.89 kB / 0.651 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.2458, allocations: 92.38 kB / 0.6511 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2458, allocations: 0 / 0.6511 GB, free: 54.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000155/0.2459, allocations: 128.9 kB / 0.6512 GB, free: 54.22 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2459, allocations: 8.922 kB / 0.6512 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2459, allocations: 4.875 kB / 0.6512 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.246, allocations: 3.938 kB / 0.6512 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.246, allocations: 19.3 kB / 0.6513 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.246, allocations: 0 / 0.6513 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.2461, allocations: 8.078 kB / 0.6513 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.2461, allocations: 5.078 kB / 0.6513 GB, free: 54.21 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 5.261e-05/0.2462, allocations: 122.3 kB / 0.6514 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.2462, allocations: 14.47 kB / 0.6514 GB, free: 54.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.2464, allocations: 144.2 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2464, allocations: 3.938 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2464, allocations: 1 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2464, allocations: 2 kB / 0.6515 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2465, allocations: 174.9 kB / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2465, allocations: 0 / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.2466, allocations: 21.34 kB / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.2466, allocations: 0 / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2466, allocations: 2.766 kB / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2466, allocations: 3.938 kB / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2466, allocations: 0 / 0.6517 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.2468, allocations: 229.4 kB / 0.652 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-06/0.2468, allocations: 6.078 kB / 0.652 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2468, allocations: 5.078 kB / 0.652 GB, free: 53.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.465e-05/0.2469, allocations: 11.77 kB / 0.652 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.2469, allocations: 9.453 kB / 0.652 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2469, allocations: 4.188 kB / 0.652 GB, free: 53.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 3.433e-05/0.2469, allocations: 105.5 kB / 0.6521 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2469, allocations: 2.094 kB / 0.6521 GB, free: 53.67 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001546/0.2471, allocations: 21.7 kB / 0.6521 GB, free: 53.66 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.0003424/0.2474, allocations: 0.7614 MB / 0.6529 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.2476, allocations: 96.89 kB / 0.653 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2476, allocations: 2.625 kB / 0.653 GB, free: 53 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.2477, allocations: 53.72 kB / 0.653 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.2479, allocations: 8.844 kB / 0.653 GB, free: 52.99 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.249, allocations: 1.638 MB / 0.6546 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.083e-05/0.249, allocations: 91.17 kB / 0.6547 GB, free: 51.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.369e-05/0.2491, allocations: 17.56 kB / 0.6547 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.2491, allocations: 29.42 kB / 0.6547 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/0.2491, allocations: 0 / 0.6547 GB, free: 51.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.2635, allocations: 2.758 MB / 0.6574 GB, free: 50.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.407/6.671, allocations: 5.844 kB / 0.6574 GB, free: 50.84 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.129007604904473] Failed to read output from testmodel.py, exit status != 0: 6.74801419954747 6.756467157 6.511459781 Calling exit ...