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.001369/0.001369, allocations: 78.56 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001394/0.001394, allocations: 167.7 kB / 22.45 MB, free: 5.367 MB / 14.72 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.396/1.396, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 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 1.173/1.173, allocations: 154.7 MB / 413.9 MB, free: 5.148 MB / 382.1 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 178] 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 2.565e-06/2.565e-06, allocations: 3.938 kB / 0.6188 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.398e-05, allocations: 6.281 kB / 0.6188 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002047/0.002081, allocations: 0.8355 MB / 0.6196 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001804/0.003885, allocations: 1.197 MB / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.318e-05/0.003948, allocations: 0 / 0.6208 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.92e-05/0.003987, allocations: 15.81 kB / 0.6208 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.004079, allocations: 19.8 kB / 0.6208 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005741/0.004653, allocations: 154.6 kB / 0.621 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000229/0.004882, allocations: 171.6 kB / 0.6211 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.005029, allocations: 29.23 kB / 0.6212 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.00519, allocations: 95.78 kB / 0.6213 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.005315, allocations: 59.84 kB / 0.6213 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.00535, allocations: 12 kB / 0.6213 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.00542, allocations: 28 kB / 0.6214 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.005463, allocations: 27.89 kB / 0.6214 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.782e-05/0.005541, allocations: 51.89 kB / 0.6214 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.005811, allocations: 183.4 kB / 0.6216 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.005817, allocations: 4 kB / 0.6216 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005818, allocations: 0 / 0.6216 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.005824, allocations: 0 / 0.6216 GB, free: 1.578 MB / 0.5294 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.0008368/0.006661, allocations: 418 kB / 0.622 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.006705, allocations: 8.031 kB / 0.622 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.896e-05/0.006774, allocations: 16.84 kB / 0.622 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.007314, allocations: 197.6 kB / 0.6222 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.007337, allocations: 12.38 kB / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.007374, allocations: 12.38 kB / 0.6222 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.007612, allocations: 93.02 kB / 0.6223 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.007624, allocations: 192 / 0.6223 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.007637, allocations: 384 / 0.6223 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.007645, allocations: 4.125 kB / 0.6223 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.007832, allocations: 55.89 kB / 0.6224 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.008561, allocations: 304.2 kB / 0.6227 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.008696, allocations: 38.5 kB / 0.6227 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.008786, allocations: 24.83 kB / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.008811, allocations: 128 / 0.6227 GB, free: 308 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.009087, allocations: 103.3 kB / 0.6228 GB, free: 192 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.009088, allocations: 4 kB / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004481/0.009536, allocations: 137.5 kB / 0.623 GB, free: 44 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.009616, allocations: 51.41 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.009752, allocations: 147.5 kB / 0.6232 GB, free: 15.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.009801, allocations: 29.7 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.009894, allocations: 116.2 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.009923, allocations: 31.73 kB / 0.6233 GB, free: 15.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.01002, allocations: 45.7 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.01019, allocations: 322.8 kB / 0.6237 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.01037, allocations: 85.59 kB / 0.6238 GB, free: 15.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.01062, allocations: 160.8 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.01096, allocations: 196.6 kB / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01096, allocations: 0 / 0.6241 GB, free: 14.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005194/0.01148, allocations: 280.6 kB / 0.6244 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.01152, allocations: 39.88 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.01153, allocations: 4 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.01156, allocations: 4.375 kB / 0.6244 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.01168, allocations: 35.92 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01169, allocations: 4 kB / 0.6245 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.0119, allocations: 39.84 kB / 0.6245 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.01193, allocations: 8 kB / 0.6245 GB, free: 14.31 MB / 0.545 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 0.000125/0.01205, allocations: 134.7 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.343e-05/0.01209, allocations: 11.94 kB / 0.6247 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.008e-05/0.01213, allocations: 16.78 kB / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.01213, allocations: 4 kB / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01213, allocations: 0 / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01213, allocations: 0 / 0.6247 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.01269, allocations: 345.9 kB / 0.625 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.01269, allocations: 4 kB / 0.625 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.782e-05/0.01278, allocations: 15.92 kB / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.01278, allocations: 0 / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.01279, allocations: 4 kB / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01279, allocations: 480 / 0.625 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0128, allocations: 4 kB / 0.625 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.01321, allocations: 247.2 kB / 0.6253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.01323, allocations: 11.95 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.01325, allocations: 0 / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.01334, allocations: 8.031 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.01339, allocations: 11.98 kB / 0.6253 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.0134, allocations: 7.938 kB / 0.6253 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.01348, allocations: 109.3 kB / 0.6254 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01348, allocations: 4 kB / 0.6254 GB, free: 13.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002838/0.01376, allocations: 31.95 kB / 0.6254 GB, free: 13.3 MB / 0.545 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.0001744/0.01393, allocations: 106.8 kB / 0.6255 GB, free: 13.19 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.01436, allocations: 205.3 kB / 0.6257 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01436, allocations: 192 / 0.6257 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.01448, allocations: 39.97 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.01477, allocations: 15.98 kB / 0.6258 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.01531, allocations: 249.6 kB / 0.626 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.01541, allocations: 97.75 kB / 0.6261 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.191e-05/0.01547, allocations: 12.64 kB / 0.6261 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.0155, allocations: 20.5 kB / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.0155, allocations: 0 / 0.6262 GB, free: 12.5 MB / 0.545 GB Notification: Performance of Templates: time 0.005168/0.02067, allocations: 1.751 MB / 0.6279 GB, free: 10.81 MB / 0.545 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.586710631847382] Failed to read output from testmodel.py, exit status != 0: 0.029233060777187347 0.042806210000000004 0.034062379000000004 Calling exit ...