Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001276/0.001276, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001633/0.001633, allocations: 159.1 kB / 22.45 MB, free: 5.375 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.584/1.584, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.252/1.252, allocations: 154.6 MB / 413.7 MB, free: 5.281 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 3.938 kB / 0.6185 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.566e-05/3.806e-05, allocations: 3.375 kB / 0.6185 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001895/0.001933, allocations: 0.7177 MB / 0.6192 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.003762, allocations: 1.186 MB / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.00382, allocations: 4 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.75e-05/0.003868, allocations: 7.922 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.00398, allocations: 15.86 kB / 0.6204 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005351/0.004515, allocations: 141.5 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.004722, allocations: 127.7 kB / 0.6207 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.004842, allocations: 20.17 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.004986, allocations: 71.88 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.377e-05/0.00508, allocations: 35.94 kB / 0.6208 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.158e-05/0.005111, allocations: 12 kB / 0.6208 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.005191, allocations: 27.92 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.005227, allocations: 19.97 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.005293, allocations: 31.92 kB / 0.6209 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.005539, allocations: 151.5 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005542, allocations: 4 kB / 0.621 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.216e-06/0.005546, allocations: 4 kB / 0.621 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.005554, allocations: 0 / 0.621 GB, free: 2.102 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007186/0.006272, allocations: 343.7 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.006315, allocations: 13.47 kB / 0.6214 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.00643, allocations: 12.83 kB / 0.6214 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.006554, allocations: 117.7 kB / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.006576, allocations: 8.375 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.0066, allocations: 8.375 kB / 0.6215 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.006827, allocations: 82.14 kB / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.006837, allocations: 192 / 0.6216 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.006851, allocations: 4.359 kB / 0.6216 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006859, allocations: 4.125 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.007063, allocations: 47.95 kB / 0.6216 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005883/0.007651, allocations: 264.4 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.007866, allocations: 58.55 kB / 0.6219 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.007965, allocations: 28.91 kB / 0.622 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.007991, allocations: 4 kB / 0.622 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.008252, allocations: 95.34 kB / 0.6221 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.008254, allocations: 0 / 0.6221 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0004929/0.008747, allocations: 153.6 kB / 0.6222 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.008807, allocations: 59.41 kB / 0.6223 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.008924, allocations: 121.7 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.008954, allocations: 29.7 kB / 0.6224 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/0.00905, allocations: 100.1 kB / 0.6225 GB, free: 432 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.009075, allocations: 15.86 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.00916, allocations: 41.69 kB / 0.6226 GB, free: 368 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.00932, allocations: 314.8 kB / 0.6229 GB, free: 44 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.009522, allocations: 81.66 kB / 0.6229 GB, free: 15.96 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.009736, allocations: 122.8 kB / 0.6231 GB, free: 15.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/0.01006, allocations: 154.7 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01007, allocations: 0 / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005046/0.01057, allocations: 248.8 kB / 0.6234 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.783e-05/0.01062, allocations: 37.7 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.01063, allocations: 3.984 kB / 0.6235 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01065, allocations: 4 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01076, allocations: 11.94 kB / 0.6235 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.01078, allocations: 7.984 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.01098, allocations: 31.97 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.01102, allocations: 16.08 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001279/0.01115, allocations: 122.8 kB / 0.6237 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.01117, allocations: 11.83 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.01152, allocations: 134 kB / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01153, allocations: 0 / 0.6238 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01153, allocations: 4 kB / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01153, allocations: 0 / 0.6238 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.01198, allocations: 326.1 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01198, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.01204, allocations: 8 kB / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01204, allocations: 0 / 0.6241 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.01205, allocations: 7.984 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01205, allocations: 3.938 kB / 0.6241 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01205, allocations: 3.938 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.01239, allocations: 211.4 kB / 0.6243 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.0124, allocations: 11.95 kB / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.01242, allocations: 0 / 0.6244 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.521e-05/0.0125, allocations: 7.984 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.01255, allocations: 11.98 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.01256, allocations: 0 / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.01263, allocations: 94.98 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01263, allocations: 0 / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002638/0.01289, allocations: 24 kB / 0.6245 GB, free: 14.23 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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 0.0001642/0.01306, allocations: 103.2 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004103/0.01347, allocations: 200.9 kB / 0.6248 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.01347, allocations: 4 kB / 0.6248 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.0136, allocations: 31.97 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.0139, allocations: 22.42 kB / 0.6248 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004117/0.01431, allocations: 173.5 kB / 0.625 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.0144, allocations: 79.08 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.01443, allocations: 4 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/0.01445, allocations: 16.44 kB / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01445, allocations: 0 / 0.6251 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.004979/0.01943, allocations: 1.541 MB / 0.6266 GB, free: 12.04 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.211775120347738] Failed to read output from testmodel.py, exit status != 0: 0.028642766177654266 0.042591827000000006 0.034086184000000005 Calling exit ...