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/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.001409/0.001409, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001433/0.001433, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7456/0.7456, allocations: 154.6 MB / 414.8 MB, free: 0.5039 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.598e-06/1.11e-05, allocations: 2.312 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001698/0.001709, allocations: 1.531 MB / 481.5 MB, free: 5.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.002303, allocations: 470.3 kB / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.002337, allocations: 0 / 482 MB, free: 4.969 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.002361, allocations: 3.938 kB / 482 MB, free: 4.965 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.002437, allocations: 15.5 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.002554, allocations: 23.84 kB / 482 MB, free: 4.93 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.044e-05/0.002624, allocations: 53.44 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.359e-05/0.002698, allocations: 13.19 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.157e-05/0.002759, allocations: 30.05 kB / 482.1 MB, free: 4.848 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.099e-05/0.00282, allocations: 19.66 kB / 482.1 MB, free: 4.832 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.002841, allocations: 4 kB / 482.1 MB, free: 4.828 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.357e-06/0.00285, allocations: 4 kB / 482.1 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.002871, allocations: 14.59 kB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.002897, allocations: 10.44 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.002981, allocations: 49.94 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.002982, allocations: 0 / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.002983, allocations: 0.5938 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.836e-06/0.002986, allocations: 0 / 482.2 MB, free: 4.758 MB / 442.7 MB 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.0003056/0.003291, allocations: 257.4 kB / 482.4 MB, free: 4.488 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.909e-05/0.00332, allocations: 12.03 kB / 482.5 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.003346, allocations: 8.922 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.003412, allocations: 106.6 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.003421, allocations: 384 / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.003433, allocations: 9.812 kB / 482.6 MB, free: 4.332 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.432e-05/0.003498, allocations: 59.05 kB / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.954e-06/0.003505, allocations: 192 / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.003511, allocations: 384 / 482.6 MB, free: 4.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.003517, allocations: 4.781 kB / 482.6 MB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.309e-05/0.00354, allocations: 15.98 kB / 482.7 MB, free: 4.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.004002, allocations: 185.6 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.015e-05/0.004063, allocations: 38.55 kB / 482.9 MB, free: 4.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.004082, allocations: 22.41 kB / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-06/0.004088, allocations: 0 / 482.9 MB, free: 3.984 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.00416, allocations: 70.27 kB / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 7.71e-07/0.004161, allocations: 0 / 483 MB, free: 3.906 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001053/0.004266, allocations: 69.61 kB / 483 MB, free: 3.832 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.004302, allocations: 55.41 kB / 483.1 MB, free: 3.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.962e-05/0.004351, allocations: 112 kB / 483.2 MB, free: 3.645 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.004363, allocations: 25.7 kB / 483.2 MB, free: 3.613 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.004394, allocations: 92.12 kB / 483.3 MB, free: 3.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.004411, allocations: 20.69 kB / 483.3 MB, free: 3.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.004439, allocations: 25.7 kB / 483.4 MB, free: 3.469 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.004505, allocations: 327.6 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.207e-05/0.004518, allocations: 7.938 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.004545, allocations: 43.89 kB / 483.7 MB, free: 3.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.444e-05/0.004589, allocations: 55.34 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004591, allocations: 1.094 kB / 483.8 MB, free: 3.016 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 6.834e-05/0.00466, allocations: 78.42 kB / 483.9 MB, free: 2.934 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.448e-06/0.004669, allocations: 4.594 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.004674, allocations: 4 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.004686, allocations: 0.625 kB / 483.9 MB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.004737, allocations: 12.62 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.00474, allocations: 3.984 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.004769, allocations: 8.562 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.004776, allocations: 8.625 kB / 483.9 MB, free: 2.895 MB / 442.7 MB 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.004831, allocations: 120.4 kB / 484 MB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.004841, allocations: 11.92 kB / 484 MB, free: 2.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.703e-05/0.004858, allocations: 8.844 kB / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.00486, allocations: 0 / 484 MB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.004861, allocations: 4.531 kB / 484 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.004864, allocations: 1.031 kB / 484.1 MB, free: 2.746 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.005025, allocations: 222.7 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.005027, allocations: 3.938 kB / 484.3 MB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-05/0.005038, allocations: 8.906 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.005039, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-06/0.005043, allocations: 0.9062 kB / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.005044, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005045, allocations: 0 / 484.3 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.045e-05/0.005115, allocations: 152.5 kB / 484.4 MB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.005124, allocations: 11.92 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-06/0.005131, allocations: 0.625 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.005163, allocations: 8 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.005189, allocations: 9.297 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.005192, allocations: 64 / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.213e-05/0.005204, allocations: 20.77 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005204, allocations: 5.625 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.005329, allocations: 19.95 kB / 484.5 MB, free: 2.258 MB / 442.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.906e-05/0.005388, allocations: 76.42 kB / 484.6 MB, free: 2.176 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.884e-05/0.005457, allocations: 53.66 kB / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.005459, allocations: 0 / 484.6 MB, free: 2.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.912e-05/0.005488, allocations: 26.38 kB / 484.7 MB, free: 2.094 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.005611, allocations: 17.98 kB / 484.7 MB, free: 2.078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.005792, allocations: 143.2 kB / 484.8 MB, free: 1.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.909e-05/0.005821, allocations: 63.34 kB / 484.9 MB, free: 1.832 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.862e-05/0.00584, allocations: 6.594 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/0.005882, allocations: 55.38 kB / 484.9 MB, free: 1.773 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.005883, allocations: 0 / 484.9 MB, free: 1.773 MB / 442.7 MB Notification: Performance of Templates: time 0.001978/0.007861, allocations: 0.8326 MB / 485.8 MB, free: 0.9961 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4185431422665715]