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.0008443/0.0008443, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 13.93 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.001078/0.001078, allocations: 213.2 kB / 23 MB, free: 2.98 MB / 13.93 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.9492/0.9492, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.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-531:686: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-531:694: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.7591/0.7591, allocations: 203.5 MB / 0.5046 GB, free: 10.28 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000965/0.000965, allocations: 68.16 kB / 0.7191 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5087, allocations: 102 MB / 0.8186 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001607/0.5103, allocations: 0.8364 MB / 0.8195 GB, free: 0.9844 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.5115, allocations: 1.204 MB / 0.8206 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.087e-05/0.5116, allocations: 0 / 0.8206 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.5116, allocations: 9.047 kB / 0.8206 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.018e-05/0.5117, allocations: 20.11 kB / 0.8207 GB, free: 92 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.5121, allocations: 152.9 kB / 0.8208 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.5124, allocations: 170.3 kB / 0.821 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.5125, allocations: 34.95 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.5126, allocations: 73.34 kB / 0.8211 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.5127, allocations: 56.28 kB / 0.8211 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.5127, allocations: 15.88 kB / 0.8211 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.5128, allocations: 29.61 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.5128, allocations: 25.53 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.5129, allocations: 53.7 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.5131, allocations: 170.6 kB / 0.8214 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5131, allocations: 4 kB / 0.8214 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5131, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.5131, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.6198 GB 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.0006148/0.5137, allocations: 417 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.5138, allocations: 11.03 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.529e-05/0.5138, allocations: 17.58 kB / 0.8218 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.5142, allocations: 185.5 kB / 0.822 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5142, allocations: 15.38 kB / 0.822 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.5142, allocations: 19.53 kB / 0.8221 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.5144, allocations: 85.36 kB / 0.8221 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.5144, allocations: 3.938 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5144, allocations: 6.516 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5144, allocations: 1.406 kB / 0.8221 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.766e-05/0.5145, allocations: 45.86 kB / 0.8222 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.515, allocations: 312.6 kB / 0.8225 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.211e-05/0.5151, allocations: 37.41 kB / 0.8225 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.5152, allocations: 24.31 kB / 0.8225 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.5152, allocations: 7.234 kB / 0.8226 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.5154, allocations: 99.17 kB / 0.8226 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.5154, allocations: 0 / 0.8226 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0003121/0.5157, allocations: 135.2 kB / 0.8228 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5158, allocations: 59.47 kB / 0.8228 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.5159, allocations: 148 kB / 0.823 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5159, allocations: 30.45 kB / 0.823 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.426e-05/0.516, allocations: 107 kB / 0.8231 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.516, allocations: 38.25 kB / 0.8231 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.5161, allocations: 46.77 kB / 0.8232 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.509e-05/0.5161, allocations: 322.3 kB / 0.8235 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.5163, allocations: 89.39 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.5164, allocations: 169.1 kB / 0.8237 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.5166, allocations: 198.9 kB / 0.8239 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5166, allocations: 0 / 0.8239 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003449/0.517, allocations: 277.9 kB / 0.8242 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.517, allocations: 39.34 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.517, allocations: 4.156 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.517, allocations: 4.031 kB / 0.8242 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.5171, allocations: 26.86 kB / 0.8243 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5171, allocations: 4.125 kB / 0.8243 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5173, allocations: 51.56 kB / 0.8243 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.5173, allocations: 12.48 kB / 0.8243 GB, free: 13.43 MB / 0.6198 GB 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 8.973e-05/0.5174, allocations: 127.5 kB / 0.8245 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.5174, allocations: 9.312 kB / 0.8245 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.5174, allocations: 12.62 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5174, allocations: 2.141 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5174, allocations: 3.938 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5174, allocations: 5.797 kB / 0.8245 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.5178, allocations: 332.9 kB / 0.8248 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5178, allocations: 1.906 kB / 0.8248 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.5179, allocations: 12.36 kB / 0.8248 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.5179, allocations: 1.734 kB / 0.8248 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5179, allocations: 5.828 kB / 0.8248 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.5179, allocations: 5.125 kB / 0.8248 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5179, allocations: 0 / 0.8248 GB, free: 13.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5182, allocations: 242.8 kB / 0.8251 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.321e-05/0.5182, allocations: 7.984 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5182, allocations: 9.516 kB / 0.8251 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.5183, allocations: 15.38 kB / 0.8251 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.5183, allocations: 11.47 kB / 0.8251 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.5183, allocations: 8.875 kB / 0.8251 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.5184, allocations: 99.67 kB / 0.8252 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5184, allocations: 0 / 0.8252 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002163/0.5186, allocations: 38.08 kB / 0.8252 GB, free: 12.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0001397/0.5187, allocations: 107.2 kB / 0.8253 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.519, allocations: 197.1 kB / 0.8255 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.519, allocations: 0 / 0.8255 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.687e-05/0.5191, allocations: 38.81 kB / 0.8256 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.5193, allocations: 23.83 kB / 0.8256 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.5198, allocations: 293.2 kB / 0.8259 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.156e-05/0.5199, allocations: 90.27 kB / 0.826 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.5199, allocations: 15.83 kB / 0.826 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/0.5199, allocations: 5.031 kB / 0.826 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.003308/0.5232, allocations: 1.768 MB / 0.8277 GB, free: 12.02 MB / 0.6198 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.865042909048498] Failed to read output from testmodel.py, exit status != 0: 0.5295734079554677 0.539191174 0.024121548000000003 Calling exit ...