Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.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.001293/0.001293, allocations: 80.81 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.001516/0.001516, allocations: 173 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 0.9695/0.9695, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.8576/0.8576, allocations: 154.6 MB / 414.8 MB, free: 0.5117 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.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") translateModel(IDEAS.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0.6562 kB / 479.9 MB, free: 6.992 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.097e-05, allocations: 7.109 kB / 480 MB, free: 6.988 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002766/0.002787, allocations: 1.518 MB / 481.5 MB, free: 5.488 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.003657, allocations: 472.3 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.84e-05/0.003705, allocations: 2.922 kB / 481.9 MB, free: 5.027 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.00374, allocations: 7.922 kB / 481.9 MB, free: 5.02 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.003843, allocations: 10.89 kB / 482 MB, free: 5.012 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.004001, allocations: 23.91 kB / 482 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.818e-05/0.004099, allocations: 48.28 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.547e-05/0.004195, allocations: 15.97 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.749e-05/0.004282, allocations: 35.92 kB / 482.1 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.14e-05/0.004354, allocations: 13.83 kB / 482.1 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.004378, allocations: 4 kB / 482.1 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.06e-05/0.004389, allocations: 4.5 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.612e-05/0.004415, allocations: 14.06 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.00445, allocations: 15.34 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.004551, allocations: 37.25 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004553, allocations: 4 kB / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004554, allocations: 0 / 482.2 MB, free: 4.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.004558, allocations: 0.875 kB / 482.2 MB, free: 4.82 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.0003809/0.004939, allocations: 260 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.004977, allocations: 8.656 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.005008, allocations: 8.938 kB / 482.4 MB, free: 4.531 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.005248, allocations: 115.1 kB / 482.6 MB, free: 4.395 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.005263, allocations: 5.375 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.005277, allocations: 4.375 kB / 482.6 MB, free: 4.387 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.902e-05/0.005366, allocations: 54.17 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005375, allocations: 1.641 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.005383, allocations: 384 / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.00539, allocations: 4.562 kB / 482.6 MB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.155e-05/0.005422, allocations: 11.98 kB / 482.6 MB, free: 4.312 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.005719, allocations: 186 kB / 482.8 MB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.005799, allocations: 39.92 kB / 482.9 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.005826, allocations: 21.38 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-06/0.005832, allocations: 1.062 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.005933, allocations: 71.34 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.005934, allocations: 1.125 kB / 482.9 MB, free: 3.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001397/0.006074, allocations: 69.61 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.006121, allocations: 51.41 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/0.006195, allocations: 115.7 kB / 483.2 MB, free: 3.703 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.006214, allocations: 29.7 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.817e-05/0.006252, allocations: 84.14 kB / 483.3 MB, free: 3.582 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.006282, allocations: 29.17 kB / 483.3 MB, free: 3.555 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.006327, allocations: 25.7 kB / 483.3 MB, free: 3.523 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.006427, allocations: 326.8 kB / 483.7 MB, free: 3.195 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.006445, allocations: 8.875 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/0.006491, allocations: 35.42 kB / 483.7 MB, free: 3.141 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.982e-05/0.006561, allocations: 55.08 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.006563, allocations: 0 / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000115/0.006678, allocations: 81.47 kB / 483.8 MB, free: 2.992 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.006694, allocations: 4.844 kB / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.0067, allocations: 0 / 483.8 MB, free: 2.988 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.00672, allocations: 5.125 kB / 483.8 MB, free: 2.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.006799, allocations: 12 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.006803, allocations: 0 / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.343e-05/0.006857, allocations: 16.7 kB / 483.9 MB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.006865, allocations: 4 kB / 483.9 MB, free: 2.953 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 8.695e-05/0.006952, allocations: 118.7 kB / 484 MB, free: 2.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.006968, allocations: 7.938 kB / 484 MB, free: 2.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.006997, allocations: 13.12 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.007, allocations: 0 / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.007004, allocations: 3.984 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.007008, allocations: 0.625 kB / 484 MB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.007298, allocations: 227.3 kB / 484.2 MB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.007301, allocations: 3.938 kB / 484.2 MB, free: 2.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-05/0.007321, allocations: 4.625 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.007325, allocations: 4.625 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.007331, allocations: 0 / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007332, allocations: 0.6875 kB / 484.3 MB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.007336, allocations: 4 kB / 484.3 MB, free: 2.547 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.007452, allocations: 152.1 kB / 484.4 MB, free: 2.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.375e-05/0.007465, allocations: 8.656 kB / 484.4 MB, free: 2.375 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.00748, allocations: 7.984 kB / 484.4 MB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.007542, allocations: 4.531 kB / 484.4 MB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.007578, allocations: 8.422 kB / 484.4 MB, free: 2.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.007583, allocations: 4 kB / 484.4 MB, free: 2.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.542e-05/0.007599, allocations: 14.3 kB / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007599, allocations: 0 / 484.5 MB, free: 2.336 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.007824, allocations: 15.95 kB / 484.5 MB, free: 2.32 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 9.265e-05/0.007917, allocations: 85.25 kB / 484.6 MB, free: 2.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001038/0.00802, allocations: 46.42 kB / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.008024, allocations: 0 / 484.6 MB, free: 2.184 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.008063, allocations: 16.86 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.008277, allocations: 32.05 kB / 484.6 MB, free: 2.137 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002866/0.008564, allocations: 145.3 kB / 484.8 MB, free: 1.973 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.561e-05/0.008609, allocations: 63.34 kB / 484.8 MB, free: 1.891 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.549e-05/0.008635, allocations: 4.719 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.008694, allocations: 59.36 kB / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of SimCode: time 8.62e-07/0.008695, allocations: 0 / 484.9 MB, free: 1.828 MB / 442.7 MB Notification: Performance of Templates: time 0.002871/0.01157, allocations: 0.8251 MB / 485.7 MB, free: 1.055 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5638414938002825]