Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.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.0007356/0.0007356, allocations: 72.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.0007253/0.0007253, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8181/0.8181, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.001333/0.001333, allocations: 238.3 kB / 260.2 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.6715/0.6715, allocations: 138.4 MB / 455.1 MB, free: 30 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") translateModel(BuildingSystems.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.596e-05, allocations: 5.094 kB / 0.6475 GB, free: 1.375 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothLimit): time 0.2448/0.2448, allocations: 1.478 MB / 0.649 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.2456, allocations: 0.5747 MB / 0.6495 GB, free: 56.2 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.508e-05/0.2457, allocations: 3.938 kB / 0.6495 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.2457, allocations: 0.6094 kB / 0.6495 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.57e-05/0.2458, allocations: 13.38 kB / 0.6496 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.246, allocations: 56 kB / 0.6496 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.2461, allocations: 29.09 kB / 0.6496 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.509e-05/0.2462, allocations: 5.156 kB / 0.6496 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.2464, allocations: 29.27 kB / 0.6497 GB, free: 56.18 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.2464, allocations: 11.75 kB / 0.6497 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.2464, allocations: 3.375 kB / 0.6497 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.2465, allocations: 54.97 kB / 0.6497 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.2466, allocations: 2.953 kB / 0.6497 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.206e-05/0.2466, allocations: 11.81 kB / 0.6498 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000166/0.2467, allocations: 80.64 kB / 0.6498 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2467, allocations: 0.6875 kB / 0.6498 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.625e-06/0.2468, allocations: 1.938 kB / 0.6498 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2468, allocations: 3.938 kB / 0.6498 GB, free: 56.15 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.0003334/0.2471, allocations: 275.6 kB / 0.6501 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.2471, allocations: 10.25 kB / 0.6501 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.2473, allocations: 16.86 kB / 0.6501 GB, free: 55.88 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.2475, allocations: 125.1 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-06/0.2475, allocations: 1.156 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.2475, allocations: 2.469 kB / 0.6502 GB, free: 55.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001056/0.2476, allocations: 43.61 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2476, allocations: 1.031 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.2476, allocations: 2.469 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.2476, allocations: 8.562 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.2477, allocations: 17.28 kB / 0.6503 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002367/0.2479, allocations: 199.5 kB / 0.6505 GB, free: 55.51 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.248, allocations: 30.8 kB / 0.6505 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.248, allocations: 15.69 kB / 0.6506 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003384/0.2483, allocations: 93 kB / 0.6506 GB, free: 55.48 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.2484, allocations: 38.81 kB / 0.6507 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 1.663e-06/0.2484, allocations: 1.656 kB / 0.6507 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.2485, allocations: 65.86 kB / 0.6507 GB, free: 55.4 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.2486, allocations: 52.28 kB / 0.6508 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.2486, allocations: 117 kB / 0.6509 GB, free: 55.24 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-06/0.2486, allocations: 26.7 kB / 0.6509 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.439e-05/0.2487, allocations: 83.16 kB / 0.651 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2487, allocations: 9.469 kB / 0.651 GB, free: 55.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.2487, allocations: 13.75 kB / 0.651 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.2487, allocations: 313.8 kB / 0.6513 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.2488, allocations: 12.19 kB / 0.6513 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.028e-05/0.2488, allocations: 8.891 kB / 0.6514 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.2488, allocations: 33.73 kB / 0.6514 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2488, allocations: 0.9062 kB / 0.6514 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.52e-05/0.2489, allocations: 59.27 kB / 0.6514 GB, free: 54.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2489, allocations: 11.56 kB / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2489, allocations: 0 / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.249, allocations: 5.156 kB / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.249, allocations: 6.062 kB / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.249, allocations: 0 / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.249, allocations: 3.828 kB / 0.6515 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.249, allocations: 0.8438 kB / 0.6515 GB, free: 54.74 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 4.038e-05/0.2491, allocations: 113.6 kB / 0.6516 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.2491, allocations: 10.27 kB / 0.6516 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.2492, allocations: 63.2 kB / 0.6516 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.2492, allocations: 0 / 0.6516 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2492, allocations: 1.875 kB / 0.6516 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2492, allocations: 0.6094 kB / 0.6516 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.001e-05/0.2493, allocations: 119.4 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2493, allocations: 0 / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.525e-05/0.2493, allocations: 6.828 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2493, allocations: 0.8125 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-06/0.2494, allocations: 5.656 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2494, allocations: 4.969 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2494, allocations: 1.031 kB / 0.6518 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.58e-05/0.2494, allocations: 143.3 kB / 0.6519 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-06/0.2494, allocations: 3.188 kB / 0.6519 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.2495, allocations: 11.89 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.126e-05/0.2495, allocations: 7.078 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.2495, allocations: 7.016 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.2495, allocations: 1.375 kB / 0.6519 GB, free: 54.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.2496, allocations: 90.89 kB / 0.652 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2496, allocations: 0.75 kB / 0.652 GB, free: 54.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001613/0.2497, allocations: 20.58 kB / 0.6521 GB, free: 54.23 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.0001537/0.2499, allocations: 110.3 kB / 0.6522 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.25, allocations: 26.22 kB / 0.6522 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.25, allocations: 0.9062 kB / 0.6522 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.576e-05/0.25, allocations: 17.47 kB / 0.6522 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2502, allocations: 2.672 kB / 0.6522 GB, free: 54.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.2504, allocations: 149.1 kB / 0.6523 GB, free: 54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.2505, allocations: 63.45 kB / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.2505, allocations: 17.02 kB / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2505, allocations: 0 / 0.6524 GB, free: 53.93 MB / 0.5573 GB Notification: Performance of Templates: time 0.001986/0.2525, allocations: 0.8693 MB / 0.6533 GB, free: 53.86 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.91814976837486] Failed to read output from testmodel.py, exit status != 0: 0.2575849946588278 0.265066898 0.01683542 Calling exit ...