Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.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.000777/0.000777, allocations: 76.5 kB / 19.93 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.0007521/0.0007521, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8128/0.8128, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.001368/0.001368, allocations: 250.1 kB / 260.2 MB, free: 13.04 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.6595/0.6595, allocations: 138.4 MB / 455.1 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: translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.6475 GB, free: 1.32 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.41e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothHeaviside): time 0.2369/0.2369, allocations: 1.461 MB / 0.649 GB, free: 56.34 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006646/0.2376, allocations: 477.2 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.2376, allocations: 0 / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.2377, allocations: 0.5156 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.73e-05/0.2377, allocations: 6.234 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.2379, allocations: 25.77 kB / 0.6494 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.238, allocations: 24.27 kB / 0.6495 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.559e-05/0.2381, allocations: 3.375 kB / 0.6495 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.2381, allocations: 17.03 kB / 0.6495 GB, free: 56.29 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.2382, allocations: 16 kB / 0.6495 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2382, allocations: 5.469 kB / 0.6495 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.329e-05/0.2382, allocations: 13.19 kB / 0.6495 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.2383, allocations: 8.516 kB / 0.6495 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.2383, allocations: 4.328 kB / 0.6495 GB, free: 56.28 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.837e-05/0.2384, allocations: 33.45 kB / 0.6496 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2384, allocations: 0.7188 kB / 0.6496 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2384, allocations: 1.531 kB / 0.6496 GB, free: 56.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2384, allocations: 0 / 0.6496 GB, free: 56.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002979/0.2387, allocations: 275.3 kB / 0.6498 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.2387, allocations: 12.56 kB / 0.6498 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.2387, allocations: 3.094 kB / 0.6498 GB, free: 56.01 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.866e-05/0.2388, allocations: 110.2 kB / 0.65 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.2388, allocations: 2.906 kB / 0.65 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.2388, allocations: 1.656 kB / 0.65 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.2389, allocations: 50.52 kB / 0.65 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.239, allocations: 5.625 kB / 0.65 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.239, allocations: 384 / 0.65 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.239, allocations: 6.938 kB / 0.65 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.2391, allocations: 31.52 kB / 0.65 GB, free: 55.84 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.2393, allocations: 193.4 kB / 0.6502 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.414e-05/0.2394, allocations: 37.42 kB / 0.6503 GB, free: 55.62 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.2394, allocations: 23.47 kB / 0.6503 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.399e-05/0.2395, allocations: 5.359 kB / 0.6503 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.2395, allocations: 44.42 kB / 0.6503 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.2395, allocations: 0 / 0.6503 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002115/0.2397, allocations: 84.67 kB / 0.6504 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.2397, allocations: 52.81 kB / 0.6505 GB, free: 55.47 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.892e-05/0.2398, allocations: 106.9 kB / 0.6506 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.2398, allocations: 26.39 kB / 0.6506 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.2398, allocations: 84.3 kB / 0.6507 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2398, allocations: 7.594 kB / 0.6507 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.2398, allocations: 13.5 kB / 0.6507 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.327e-05/0.2399, allocations: 316.3 kB / 0.651 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.2399, allocations: 16.98 kB / 0.651 GB, free: 54.93 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.24, allocations: 21.06 kB / 0.651 GB, free: 54.92 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.24, allocations: 42.14 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.24, allocations: 1.453 kB / 0.6511 GB, free: 54.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001018/0.2401, allocations: 63.66 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2401, allocations: 9.156 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2402, allocations: 3.172 kB / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.2402, allocations: 0 / 0.6511 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.583e-05/0.2402, allocations: 10.22 kB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.2402, allocations: 4.719 kB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.2402, allocations: 7.812 kB / 0.6512 GB, free: 54.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-06/0.2403, allocations: 0 / 0.6512 GB, free: 54.88 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 (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 3.78e-05/0.2403, allocations: 111.8 kB / 0.6513 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.2403, allocations: 16.36 kB / 0.6513 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.2404, allocations: 74.23 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2404, allocations: 0.7812 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2404, allocations: 0.8438 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2404, allocations: 1.25 kB / 0.6514 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.787e-05/0.2405, allocations: 104.1 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2405, allocations: 0 / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.2405, allocations: 10.56 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-07/0.2405, allocations: 0.75 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2405, allocations: 5.594 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.41e-07/0.2405, allocations: 1.25 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2405, allocations: 0.8438 kB / 0.6515 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.2406, allocations: 163.1 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-06/0.2406, allocations: 2.906 kB / 0.6516 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.2407, allocations: 6.469 kB / 0.6516 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.2407, allocations: 9.125 kB / 0.6517 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.2407, allocations: 4.172 kB / 0.6517 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.2407, allocations: 0.6875 kB / 0.6517 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 1.616e-05/0.2407, allocations: 83.5 kB / 0.6517 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2407, allocations: 0 / 0.6517 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001424/0.2409, allocations: 10.34 kB / 0.6517 GB, free: 54.38 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 (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.0001153/0.241, allocations: 100.8 kB / 0.6518 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.2411, allocations: 41.3 kB / 0.6519 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.2411, allocations: 0.9062 kB / 0.6519 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.2412, allocations: 21.77 kB / 0.6519 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2414, allocations: 8.781 kB / 0.6519 GB, free: 54.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002172/0.2416, allocations: 135 kB / 0.652 GB, free: 54.15 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.2416, allocations: 60.36 kB / 0.6521 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.2417, allocations: 10.19 kB / 0.6521 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of SimCode: time 3.8e-07/0.2417, allocations: 3.938 kB / 0.6521 GB, free: 54.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.001632/0.2433, allocations: 0.6716 MB / 0.6528 GB, free: 54.05 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.213985682465136] Failed to read output from testmodel.py, exit status != 0: 0.24852250795811415 0.25650939 0.016479461 Calling exit ...