Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.0007783/0.0007783, allocations: 80.88 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.0009311/0.0009311, 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8616/0.8616, allocations: 154.6 MB / 414.9 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.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.865e-05, allocations: 2.312 kB / 480.1 MB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001795/0.001814, allocations: 0.9001 MB / 481 MB, free: 5.934 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.003189, allocations: 1.232 MB / 482.3 MB, free: 4.691 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.546e-05/0.003244, allocations: 4 kB / 482.3 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.003278, allocations: 11.86 kB / 482.3 MB, free: 4.676 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.003369, allocations: 20.06 kB / 482.3 MB, free: 4.664 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.003776, allocations: 148.1 kB / 482.4 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.003984, allocations: 173.7 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004088, allocations: 30.62 kB / 482.6 MB, free: 4.34 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.004246, allocations: 95.86 kB / 482.7 MB, free: 4.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004353, allocations: 48.73 kB / 482.8 MB, free: 4.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.00438, allocations: 15.98 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.212e-05/0.004452, allocations: 24.84 kB / 482.8 MB, free: 4.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.761e-05/0.004479, allocations: 19.92 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.004535, allocations: 47.89 kB / 482.9 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.0047, allocations: 120.2 kB / 483 MB, free: 3.977 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004702, allocations: 0.625 kB / 483 MB, free: 3.977 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004703, allocations: 0 / 483 MB, free: 3.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.004706, allocations: 1.156 kB / 483 MB, free: 3.977 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000488/0.005194, allocations: 362.3 kB / 483.4 MB, free: 3.594 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.005228, allocations: 8.031 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.443e-05/0.005272, allocations: 20.91 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.005443, allocations: 141.6 kB / 483.5 MB, free: 3.402 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005458, allocations: 9.562 kB / 483.5 MB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.005486, allocations: 12.38 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.005619, allocations: 86.61 kB / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.005626, allocations: 192 / 483.6 MB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.005637, allocations: 8.359 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.005642, allocations: 1.594 kB / 483.6 MB, free: 3.285 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.272e-05/0.005675, allocations: 28.47 kB / 483.7 MB, free: 3.258 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.006096, allocations: 225.1 kB / 483.9 MB, free: 3.023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.006138, allocations: 26.45 kB / 483.9 MB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.006155, allocations: 14.23 kB / 483.9 MB, free: 2.973 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.006166, allocations: 6.109 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/0.006269, allocations: 79.47 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.00627, allocations: 0.8438 kB / 484 MB, free: 2.879 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001385/0.006408, allocations: 77.53 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.006441, allocations: 60.19 kB / 484.1 MB, free: 2.727 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.639e-05/0.006538, allocations: 154 kB / 484.3 MB, free: 2.566 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.00656, allocations: 34.58 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.006617, allocations: 105.9 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.006651, allocations: 32.8 kB / 484.5 MB, free: 2.391 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-05/0.006716, allocations: 45.67 kB / 484.5 MB, free: 2.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/0.006803, allocations: 326.8 kB / 484.8 MB, free: 2.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.892e-05/0.006862, allocations: 50.31 kB / 484.9 MB, free: 1.957 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.006961, allocations: 141.5 kB / 485 MB, free: 1.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.0071, allocations: 164.4 kB / 485.2 MB, free: 1.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.007103, allocations: 9.531 kB / 485.2 MB, free: 1.562 MB / 442.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002116/0.007315, allocations: 206.5 kB / 485.4 MB, free: 1.344 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.007348, allocations: 42.69 kB / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.007353, allocations: 0 / 485.4 MB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.007367, allocations: 4 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.602e-05/0.007443, allocations: 24.52 kB / 485.5 MB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.007449, allocations: 9.438 kB / 485.5 MB, free: 1.262 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.007569, allocations: 27.92 kB / 485.5 MB, free: 1.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.007592, allocations: 11.98 kB / 485.5 MB, free: 1.223 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 7.852e-05/0.007671, allocations: 122.5 kB / 485.6 MB, free: 1.094 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.007687, allocations: 18.27 kB / 485.6 MB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.007716, allocations: 12.78 kB / 485.6 MB, free: 1.062 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.00772, allocations: 4 kB / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.007722, allocations: 0 / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.007725, allocations: 0 / 485.7 MB, free: 1.059 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.00799, allocations: 242.6 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.007992, allocations: 1.688 kB / 485.9 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.008046, allocations: 16 kB / 485.9 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.00805, allocations: 4 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.008058, allocations: 0 / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.008059, allocations: 1.656 kB / 485.9 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.00806, allocations: 3.938 kB / 485.9 MB, free: 0.7734 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008203, allocations: 183.4 kB / 486.1 MB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.008215, allocations: 12.98 kB / 486.1 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.008227, allocations: 0.75 kB / 486.1 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.268e-05/0.00829, allocations: 11.98 kB / 486.1 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.008322, allocations: 9.359 kB / 486.1 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.008328, allocations: 0 / 486.1 MB, free: 0.5469 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.774e-05/0.008356, allocations: 32.83 kB / 486.2 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008356, allocations: 0 / 486.2 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.0086, allocations: 32.55 kB / 486.2 MB, free: 492 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000106/0.008706, allocations: 85.48 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.008893, allocations: 167.9 kB / 486.4 MB, free: 212 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.008898, allocations: 4 kB / 486.4 MB, free: 208 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.008934, allocations: 25.75 kB / 486.5 MB, free: 180 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.00912, allocations: 28.44 kB / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.009518, allocations: 240 kB / 486.7 MB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.882e-05/0.009566, allocations: 76.81 kB / 486.8 MB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.009614, allocations: 12.95 kB / 486.8 MB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.009712, allocations: 83.33 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.009712, allocations: 0.5625 kB / 486.9 MB, free: 15.71 MB / 458.7 MB Notification: Performance of Templates: time 0.003991/0.0137, allocations: 1.845 MB / 488.7 MB, free: 14.02 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6553656538017094]