Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001919/0.001919, allocations: 79.67 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.002262/0.002262, allocations: 162.1 kB / 22.46 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.492/1.492, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.212/1.212, allocations: 154.6 MB / 413.7 MB, free: 5.309 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.906e-05, allocations: 5.562 kB / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001819/0.001848, allocations: 0.6957 MB / 0.6192 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.0035, allocations: 1.155 MB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.003549, allocations: 4 kB / 0.6204 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.003574, allocations: 7.938 kB / 0.6204 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.003657, allocations: 11.91 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004623/0.004119, allocations: 134.5 kB / 0.6205 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.00431, allocations: 127.7 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.004394, allocations: 11.97 kB / 0.6207 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.004519, allocations: 63.89 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.004626, allocations: 31.95 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.004657, allocations: 12 kB / 0.6208 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.641e-05/0.004723, allocations: 23.98 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.004746, allocations: 15.94 kB / 0.6208 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.765e-05/0.004814, allocations: 31.97 kB / 0.6208 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.005073, allocations: 155.5 kB / 0.621 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.005076, allocations: 4 kB / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005076, allocations: 0 / 0.621 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.005081, allocations: 0 / 0.621 GB, free: 2.121 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005144/0.005595, allocations: 327.8 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005632, allocations: 9.469 kB / 0.6213 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.005682, allocations: 8.938 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.005814, allocations: 125.7 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.00583, allocations: 4.375 kB / 0.6214 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.005851, allocations: 8.375 kB / 0.6214 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.548e-05/0.005947, allocations: 42.25 kB / 0.6215 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.005955, allocations: 4.125 kB / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.005963, allocations: 384 / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.005966, allocations: 384 / 0.6215 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.191e-05/0.006018, allocations: 27.86 kB / 0.6215 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.006406, allocations: 244.5 kB / 0.6217 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.006477, allocations: 34.56 kB / 0.6218 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.3e-05/0.0065, allocations: 8.922 kB / 0.6218 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.00651, allocations: 4 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.006641, allocations: 71.27 kB / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.006643, allocations: 0 / 0.6219 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.006856, allocations: 77.67 kB / 0.6219 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.0069, allocations: 51.41 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.007016, allocations: 129.7 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.007054, allocations: 29.7 kB / 0.6221 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.007121, allocations: 92.12 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.007135, allocations: 7.938 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.007203, allocations: 29.7 kB / 0.6223 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.007349, allocations: 318.8 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.007468, allocations: 73.67 kB / 0.6226 GB, free: 252 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.007588, allocations: 92.19 kB / 0.6227 GB, free: 144 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.007728, allocations: 84.28 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00773, allocations: 4 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003338/0.008064, allocations: 200.9 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.12e-05/0.008105, allocations: 37.64 kB / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00811, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008123, allocations: 0 / 0.623 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.594e-05/0.008179, allocations: 19.98 kB / 0.623 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.008185, allocations: 4.062 kB / 0.6231 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.008378, allocations: 27.91 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.008398, allocations: 4 kB / 0.6231 GB, free: 15.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.000112/0.00851, allocations: 118.8 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.008525, allocations: 8.125 kB / 0.6232 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.524e-05/0.00856, allocations: 15.97 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.008562, allocations: 3.938 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.008565, allocations: 4.062 kB / 0.6232 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.00857, allocations: 4 kB / 0.6232 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.008697, allocations: 117.3 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008698, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.499e-05/0.008713, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.008714, allocations: 0 / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.008731, allocations: 11.92 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.008732, allocations: 0 / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008733, allocations: 0 / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.008885, allocations: 93.02 kB / 0.6234 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.008896, allocations: 0 / 0.6234 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.008917, allocations: 11.92 kB / 0.6235 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.008943, allocations: 4 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.008977, allocations: 4 kB / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.008981, allocations: 0 / 0.6235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.391e-05/0.009065, allocations: 98 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009065, allocations: 3.938 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002278/0.009293, allocations: 24 kB / 0.6236 GB, free: 15.15 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: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0002297/0.009523, allocations: 99.23 kB / 0.6237 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.009843, allocations: 157.1 kB / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.009845, allocations: 0 / 0.6238 GB, free: 14.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.009887, allocations: 15.98 kB / 0.6238 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.01014, allocations: 15.98 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.01052, allocations: 140.6 kB / 0.624 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.704e-05/0.01059, allocations: 71.33 kB / 0.6241 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.01062, allocations: 7.812 kB / 0.6241 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.01064, allocations: 16.5 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.01064, allocations: 0 / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Templates: time 0.004637/0.01528, allocations: 1.454 MB / 0.6255 GB, free: 13.15 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.820425417274237] Failed to read output from testmodel.py, exit status != 0: 0.023514851927757263 0.03858898899999994 0.030354563999999938 Calling exit ...