Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0008324/0.0008324, 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.0009843/0.0009843, allocations: 170.3 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.8444/0.8444, 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.001415/0.001415, allocations: 236.1 kB / 259.4 MB, free: 13.02 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.6621/0.6621, allocations: 138.4 MB / 454.3 MB, free: 1.605 MB / 362.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.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.965e-06/9.187e-06, allocations: 4.25 kB / 0.6464 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008373/0.0008465, allocations: 0.5768 MB / 0.6469 GB, free: 28.57 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.000993, allocations: 38.59 kB / 0.647 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.001006, allocations: 0 / 0.647 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.001026, allocations: 4 kB / 0.647 GB, free: 28.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.967e-05/0.001056, allocations: 5.219 kB / 0.647 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001531/0.001209, allocations: 16.97 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 5.373e-05/0.001263, allocations: 2.469 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 2.717e-05/0.00129, allocations: 2.125 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.489e-05/0.001315, allocations: 1.344 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 3.149e-05/0.001346, allocations: 1.344 kB / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.001357, allocations: 0 / 0.647 GB, free: 28.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.55e-05/0.001412, allocations: 29.12 kB / 0.647 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.001434, allocations: 2.406 kB / 0.647 GB, free: 28.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.001449, allocations: 9.406 kB / 0.647 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 7.215e-05/0.001522, allocations: 31.27 kB / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-06/0.001523, allocations: 0 / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.001523, allocations: 0 / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.001526, allocations: 0 / 0.6471 GB, free: 28.47 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0001806/0.001707, allocations: 280.2 kB / 0.6473 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.001738, allocations: 10.66 kB / 0.6473 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.551e-05/0.001753, allocations: 31.97 kB / 0.6474 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.914e-05/0.001772, allocations: 2.25 kB / 0.6474 GB, free: 28.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.977e-05/0.001802, allocations: 103.4 kB / 0.6475 GB, free: 28.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.00181, allocations: 9.594 kB / 0.6475 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.001817, allocations: 1.469 kB / 0.6475 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.744e-05/0.001904, allocations: 81.39 kB / 0.6476 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.00191, allocations: 192 / 0.6476 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.001916, allocations: 4.375 kB / 0.6476 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.001933, allocations: 18.36 kB / 0.6476 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.358e-05/0.001967, allocations: 56.86 kB / 0.6476 GB, free: 27.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.002153, allocations: 239 kB / 0.6479 GB, free: 27.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.018e-05/0.002183, allocations: 46.91 kB / 0.6479 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.002196, allocations: 37.3 kB / 0.6479 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-06/0.002201, allocations: 0 / 0.6479 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.002213, allocations: 39.84 kB / 0.648 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.002214, allocations: 0 / 0.648 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000107/0.002321, allocations: 122.6 kB / 0.6481 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.002338, allocations: 81.09 kB / 0.6482 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.854e-05/0.002376, allocations: 112.1 kB / 0.6483 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-06/0.00238, allocations: 29.64 kB / 0.6483 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.002399, allocations: 106.9 kB / 0.6484 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.002404, allocations: 1.406 kB / 0.6484 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.002429, allocations: 25.7 kB / 0.6484 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.603e-05/0.002455, allocations: 320.5 kB / 0.6487 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.002473, allocations: 40.16 kB / 0.6488 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.943e-05/0.002503, allocations: 89.28 kB / 0.6489 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.661e-05/0.002559, allocations: 126.7 kB / 0.649 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.002561, allocations: 0 / 0.649 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.749e-05/0.002638, allocations: 150.4 kB / 0.6491 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.002656, allocations: 36.36 kB / 0.6492 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.00266, allocations: 1.406 kB / 0.6492 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.002671, allocations: 3.188 kB / 0.6492 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.002717, allocations: 17.55 kB / 0.6492 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.002722, allocations: 2.188 kB / 0.6492 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.002767, allocations: 12.48 kB / 0.6492 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.002777, allocations: 9.906 kB / 0.6492 GB, free: 26.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 3.635e-05/0.002813, allocations: 145.7 kB / 0.6494 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.002825, allocations: 6.672 kB / 0.6494 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-06/0.002833, allocations: 8.922 kB / 0.6494 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.61e-07/0.002834, allocations: 0 / 0.6494 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.002837, allocations: 0 / 0.6494 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.002839, allocations: 1.406 kB / 0.6494 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.211e-05/0.002901, allocations: 128.5 kB / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.002902, allocations: 1.5 kB / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-07/0.002902, allocations: 0 / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-07/0.002903, allocations: 4 kB / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.002908, allocations: 5.281 kB / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.002908, allocations: 0 / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.002909, allocations: 1.188 kB / 0.6495 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.725e-05/0.002956, allocations: 192.3 kB / 0.6497 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.002961, allocations: 1.125 kB / 0.6497 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.002969, allocations: 5.062 kB / 0.6497 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.002998, allocations: 5.125 kB / 0.6497 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.003008, allocations: 1.188 kB / 0.6497 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.003011, allocations: 2.156 kB / 0.6497 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.875e-05/0.00303, allocations: 95.33 kB / 0.6498 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.00303, allocations: 0 / 0.6498 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001518/0.003181, allocations: 14.28 kB / 0.6498 GB, free: 25.54 MB / 0.5105 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001535/0.003335, allocations: 0.7341 MB / 0.6505 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.122e-05/0.003416, allocations: 134.5 kB / 0.6506 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.003418, allocations: 0 / 0.6506 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.003429, allocations: 82.67 kB / 0.6507 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.003565, allocations: 12.06 kB / 0.6507 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.003787, allocations: 171 kB / 0.6509 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.902e-05/0.003816, allocations: 65.17 kB / 0.651 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.372e-05/0.003859, allocations: 11.11 kB / 0.651 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.003878, allocations: 10.97 kB / 0.651 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.003878, allocations: 0 / 0.651 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.01792, allocations: 2.096 MB / 0.653 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.626, allocations: 11.8 kB / 0.653 GB, free: 22.95 MB / 0.5105 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.262393808923662] Failed to read output from testmodel.py, exit status != 0: 6.701475833542645 6.708448885 6.705654201 Calling exit ...