Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.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.00139/0.00139, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001577/0.001577, allocations: 168.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.002439/0.002439, allocations: 242.4 kB / 259.4 MB, free: 484 kB / 238.1 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 1.065/1.065, allocations: 138.4 MB / 454.3 MB, free: 1.965 MB / 366.1 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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6468 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.186e-05/5.396e-05, allocations: 6.219 kB / 0.6468 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothExponential): time 0.004557/0.004611, allocations: 1.457 MB / 0.6482 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007294/0.005341, allocations: 196.1 kB / 0.6484 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.358e-05/0.005384, allocations: 4 kB / 0.6484 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.678e-05/0.005421, allocations: 0 / 0.6484 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.005473, allocations: 3.938 kB / 0.6484 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.005845, allocations: 39.83 kB / 0.6485 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.005946, allocations: 27.92 kB / 0.6485 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.006059, allocations: 7.922 kB / 0.6485 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.00613, allocations: 8 kB / 0.6485 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.006187, allocations: 11.98 kB / 0.6485 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.006211, allocations: 4 kB / 0.6485 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.006345, allocations: 31.97 kB / 0.6485 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.33e-05/0.006368, allocations: 7.984 kB / 0.6486 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.416e-05/0.006413, allocations: 15.92 kB / 0.6486 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.006586, allocations: 43.88 kB / 0.6486 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.006591, allocations: 0 / 0.6486 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006592, allocations: 0 / 0.6486 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.006603, allocations: 0 / 0.6486 GB, free: 3.129 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006526/0.007255, allocations: 266.3 kB / 0.6489 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.007307, allocations: 9.344 kB / 0.6489 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.00735, allocations: 4.938 kB / 0.6489 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.007517, allocations: 117.7 kB / 0.649 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.007533, allocations: 384 / 0.649 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.007549, allocations: 4.375 kB / 0.649 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.007809, allocations: 50.23 kB / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.00782, allocations: 192 / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.007833, allocations: 384 / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.007839, allocations: 384 / 0.649 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.008158, allocations: 39.89 kB / 0.6491 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.008602, allocations: 192.5 kB / 0.6493 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.008843, allocations: 50.52 kB / 0.6493 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.009003, allocations: 24.91 kB / 0.6493 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/0.009081, allocations: 0 / 0.6493 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.009124, allocations: 34.56 kB / 0.6494 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.673e-06/0.009126, allocations: 3.938 kB / 0.6494 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005946/0.009721, allocations: 89.67 kB / 0.6495 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.009787, allocations: 55.34 kB / 0.6495 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.009931, allocations: 101.8 kB / 0.6496 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.009961, allocations: 29.7 kB / 0.6496 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.01003, allocations: 80.14 kB / 0.6497 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.01007, allocations: 7.953 kB / 0.6497 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.01012, allocations: 13.72 kB / 0.6497 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002216/0.01034, allocations: 314.8 kB / 0.65 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.0105, allocations: 15.98 kB / 0.65 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.01065, allocations: 20.02 kB / 0.6501 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.01094, allocations: 44.81 kB / 0.6501 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.01094, allocations: 0 / 0.6501 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003731/0.01132, allocations: 69.55 kB / 0.6502 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.01134, allocations: 4 kB / 0.6502 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.01135, allocations: 4.031 kB / 0.6502 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.01137, allocations: 7.984 kB / 0.6502 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01151, allocations: 8 kB / 0.6502 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01152, allocations: 0 / 0.6502 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/0.01161, allocations: 7.984 kB / 0.6502 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01162, allocations: 0 / 0.6502 GB, free: 1.316 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 0.0001386/0.01175, allocations: 105.8 kB / 0.6503 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.01181, allocations: 11.95 kB / 0.6503 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.01221, allocations: 72.91 kB / 0.6504 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.01222, allocations: 4 kB / 0.6504 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.01223, allocations: 3.984 kB / 0.6504 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.01224, allocations: 256 / 0.6504 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.01247, allocations: 101.3 kB / 0.6505 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.01248, allocations: 4 kB / 0.6505 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.01259, allocations: 15.92 kB / 0.6505 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.01259, allocations: 0 / 0.6505 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.0126, allocations: 0 / 0.6505 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.01261, allocations: 3.938 kB / 0.6505 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01261, allocations: 4.031 kB / 0.6505 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.01305, allocations: 159.5 kB / 0.6507 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.01307, allocations: 7.938 kB / 0.6507 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.01309, allocations: 0 / 0.6507 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.01324, allocations: 11.92 kB / 0.6507 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.01329, allocations: 0 / 0.6507 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.01329, allocations: 0 / 0.6507 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.28e-05/0.01338, allocations: 87.27 kB / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.01338, allocations: 32 / 0.6508 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004392/0.01382, allocations: 19.94 kB / 0.6508 GB, free: 0.6523 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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.000278/0.01409, allocations: 99.25 kB / 0.6509 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003753/0.01447, allocations: 43.89 kB / 0.6509 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01447, allocations: 0 / 0.6509 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.01463, allocations: 15.98 kB / 0.6509 GB, free: 496 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004769/0.01511, allocations: 10.94 kB / 0.651 GB, free: 488 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.01555, allocations: 112.7 kB / 0.6511 GB, free: 348 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.899e-05/0.01565, allocations: 59.34 kB / 0.6511 GB, free: 268 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.01569, allocations: 4 kB / 0.6511 GB, free: 264 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.905e-05/0.01573, allocations: 8.5 kB / 0.6511 GB, free: 252 kB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.01573, allocations: 0 / 0.6511 GB, free: 252 kB / 0.5606 GB Notification: Performance of Templates: time 0.2439/0.2596, allocations: 0.6208 MB / 0.6517 GB, free: 56.56 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.687709044665098] Failed to read output from testmodel.py, exit status != 0: 0.2702968418598175 0.27626944299999995 0.26740711999999994 Calling exit ...