Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8227/0.8227, allocations: 130.7 MB / 138.7 MB, free: 3.555 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 391.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 100.1 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.448e-05/1.428e-05, allocations: 0 / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4737, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.6282, allocations: 111.1 MB / 0.7366 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.6284, allocations: 75.91 kB / 0.7367 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003809/0.6323, allocations: 1.397 MB / 0.7381 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6323, allocations: 0 / 0.7381 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.6323, allocations: 2.156 kB / 0.7381 GB, free: 14.21 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004119/0.6327, allocations: 350.3 kB / 0.7384 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.6328, allocations: 12.03 kB / 0.7384 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.6328, allocations: 4 kB / 0.7384 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.633, allocations: 182.9 kB / 0.7386 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.633, allocations: 0 / 0.7386 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.633, allocations: 4 kB / 0.7386 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.907e-05/0.6331, allocations: 19.94 kB / 0.7386 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.728e-05/0.6332, allocations: 49.69 kB / 0.7387 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.6332, allocations: 0 / 0.7387 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6333, allocations: 4 kB / 0.7387 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.6333, allocations: 3.984 kB / 0.7387 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.6338, allocations: 273.5 kB / 0.7389 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.6339, allocations: 50.52 kB / 0.739 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.6339, allocations: 25.08 kB / 0.739 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.6339, allocations: 0 / 0.739 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.6341, allocations: 68.33 kB / 0.7391 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.6341, allocations: 0 / 0.7391 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0001892/0.6343, allocations: 81.52 kB / 0.7391 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.6343, allocations: 55.45 kB / 0.7392 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.6344, allocations: 104.9 kB / 0.7393 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.6345, allocations: 29.7 kB / 0.7393 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/0.6345, allocations: 88.03 kB / 0.7394 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.6345, allocations: 19.75 kB / 0.7394 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.6346, allocations: 0 / 0.7394 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6347, allocations: 322.8 kB / 0.7397 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.6347, allocations: 15.94 kB / 0.7397 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.6348, allocations: 39.44 kB / 0.7398 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.6e-05/0.6348, allocations: 19.98 kB / 0.7398 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6348, allocations: 0 / 0.7398 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001226/0.635, allocations: 81.53 kB / 0.7399 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.635, allocations: 11.94 kB / 0.7399 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.635, allocations: 1.5 kB / 0.7399 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.635, allocations: 3.984 kB / 0.7399 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.758e-05/0.6351, allocations: 8.281 kB / 0.7399 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.6351, allocations: 7.938 kB / 0.7399 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.6352, allocations: 11.98 kB / 0.7399 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.6352, allocations: 7.984 kB / 0.7399 GB, free: 12.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.826e-05/0.6353, allocations: 114.6 kB / 0.74 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.6353, allocations: 7.906 kB / 0.7401 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.6353, allocations: 4.406 kB / 0.7401 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6353, allocations: 0 / 0.7401 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6353, allocations: 0 / 0.7401 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6353, allocations: 0 / 0.7401 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.6357, allocations: 335 kB / 0.7404 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6357, allocations: 0.875 kB / 0.7404 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.6358, allocations: 4 kB / 0.7404 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6358, allocations: 3.938 kB / 0.7404 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.6358, allocations: 4 kB / 0.7404 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6358, allocations: 3.984 kB / 0.7404 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6358, allocations: 0 / 0.7404 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.636, allocations: 183.4 kB / 0.7406 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.636, allocations: 86.36 kB / 0.7406 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.636, allocations: 0 / 0.7406 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.6361, allocations: 7.984 kB / 0.7407 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.6362, allocations: 7.984 kB / 0.7407 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.6362, allocations: 8 kB / 0.7407 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.124e-05/0.6362, allocations: 79.28 kB / 0.7407 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6362, allocations: 4 kB / 0.7408 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002126/0.6365, allocations: 11.95 kB / 0.7408 GB, free: 11.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001082/0.6366, allocations: 103.2 kB / 0.7409 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.6367, allocations: 47.94 kB / 0.7409 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6367, allocations: 0 / 0.7409 GB, free: 11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.6368, allocations: 23.94 kB / 0.7409 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.637, allocations: 13.7 kB / 0.7409 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.6372, allocations: 91.88 kB / 0.741 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.6375, allocations: 0.6908 MB / 0.7417 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.674e-05/0.6375, allocations: 4 kB / 0.7417 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.6375, allocations: 11.44 kB / 0.7417 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of SimCode: time 2.41e-07/0.6375, allocations: 0 / 0.7417 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.002524/0.6401, allocations: 0.6303 MB / 0.7423 GB, free: 9.488 MB / 0.5261 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)