Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.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.001888/0.001888, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002251/0.002251, allocations: 215.4 kB / 22.25 MB, free: 5.098 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.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.293/1.293, allocations: 203.8 MB / 0.5041 GB, free: 4.57 MB / 414.1 MB " [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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.002023/0.002023, allocations: 63.91 kB / 0.7186 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6188/0.6208, allocations: 102 MB / 0.8183 GB, free: 28.89 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003186/0.624, allocations: 0.908 MB / 0.8192 GB, free: 28.35 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002459/0.6265, allocations: 1.453 MB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.6266, allocations: 1.625 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 5.547e-05/0.6266, allocations: 18.47 kB / 0.8206 GB, free: 27.29 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.6268, allocations: 60.89 kB / 0.8207 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6282, allocations: 447.4 kB / 0.8211 GB, free: 27.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.000872/0.6291, allocations: 497.4 kB / 0.8216 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.6292, allocations: 29.61 kB / 0.8216 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.6296, allocations: 183 kB / 0.8218 GB, free: 26.68 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000386/0.63, allocations: 145 kB / 0.8219 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.6301, allocations: 51.06 kB / 0.8219 GB, free: 26.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.6302, allocations: 70.2 kB / 0.822 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.6303, allocations: 33 kB / 0.822 GB, free: 26.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002299/0.6305, allocations: 150.9 kB / 0.8222 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.6314, allocations: 0.4925 MB / 0.8227 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.6314, allocations: 0.7031 kB / 0.8227 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6314, allocations: 0.625 kB / 0.8227 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.149e-05/0.6314, allocations: 1.719 kB / 0.8227 GB, free: 26.34 MB / 0.6387 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.001007/0.6324, allocations: 0.5637 MB / 0.8232 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.6325, allocations: 11.22 kB / 0.8232 GB, free: 25.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.6326, allocations: 31.73 kB / 0.8233 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.6328, allocations: 169.5 kB / 0.8234 GB, free: 25.67 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.6329, allocations: 15.12 kB / 0.8234 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.608e-05/0.6329, allocations: 24.16 kB / 0.8235 GB, free: 25.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002631/0.6332, allocations: 119.8 kB / 0.8236 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.6332, allocations: 6.641 kB / 0.8236 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.6332, allocations: 9.828 kB / 0.8236 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.6332, allocations: 6.5 kB / 0.8236 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.6334, allocations: 48.77 kB / 0.8236 GB, free: 25.54 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001073/0.6344, allocations: 0.7248 MB / 0.8244 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.6346, allocations: 119.9 kB / 0.8245 GB, free: 24.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.616e-05/0.6347, allocations: 48.75 kB / 0.8245 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.6347, allocations: 2.594 kB / 0.8245 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/0.635, allocations: 187.8 kB / 0.8247 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.635, allocations: 0 / 0.8247 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0004916/0.6355, allocations: 228.1 kB / 0.8249 GB, free: 24.58 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.6356, allocations: 138.1 kB / 0.825 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.6358, allocations: 236.3 kB / 0.8253 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.6359, allocations: 41.94 kB / 0.8253 GB, free: 24.23 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.879e-05/0.636, allocations: 127.8 kB / 0.8254 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.636, allocations: 35.31 kB / 0.8255 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6362, allocations: 101.7 kB / 0.8256 GB, free: 24.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.6363, allocations: 333.9 kB / 0.8259 GB, free: 23.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.6366, allocations: 275.7 kB / 0.8261 GB, free: 23.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.637, allocations: 355.8 kB / 0.8265 GB, free: 23.23 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004079/0.6374, allocations: 366.5 kB / 0.8268 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6374, allocations: 1.375 kB / 0.8268 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00107/0.6385, allocations: 0.6855 MB / 0.8275 GB, free: 22.47 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.789e-05/0.6386, allocations: 133.6 kB / 0.8276 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.6386, allocations: 4.359 kB / 0.8276 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.516e-05/0.6386, allocations: 3.906 kB / 0.8276 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.6387, allocations: 15.5 kB / 0.8277 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6387, allocations: 6.688 kB / 0.8277 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.6395, allocations: 116.2 kB / 0.8278 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.641e-05/0.6395, allocations: 28 kB / 0.8278 GB, free: 22.31 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001867/0.6397, allocations: 150.2 kB / 0.8279 GB, free: 22.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6398, allocations: 23.38 kB / 0.828 GB, free: 22.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.052e-05/0.6398, allocations: 21.8 kB / 0.828 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6398, allocations: 6.25 kB / 0.828 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.6399, allocations: 6.469 kB / 0.828 GB, free: 22.13 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.6399, allocations: 2.344 kB / 0.828 GB, free: 22.13 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.6401, allocations: 182.6 kB / 0.8282 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6401, allocations: 1.156 kB / 0.8282 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.321e-05/0.6402, allocations: 14.48 kB / 0.8282 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.6402, allocations: 1.625 kB / 0.8282 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.6402, allocations: 7.797 kB / 0.8282 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.6402, allocations: 2.562 kB / 0.8282 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6402, allocations: 1.25 kB / 0.8282 GB, free: 21.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.6405, allocations: 223.5 kB / 0.8284 GB, free: 21.82 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.6406, allocations: 25.27 kB / 0.8284 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.6406, allocations: 7.891 kB / 0.8284 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.49e-05/0.6407, allocations: 6.453 kB / 0.8285 GB, free: 21.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.6407, allocations: 16.2 kB / 0.8285 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.6407, allocations: 7.484 kB / 0.8285 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001619/0.6409, allocations: 173.5 kB / 0.8286 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6409, allocations: 0 / 0.8286 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003538/0.6412, allocations: 73.48 kB / 0.8287 GB, free: 21.67 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000171/0.6414, allocations: 111.5 kB / 0.8288 GB, free: 21.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007353/0.6421, allocations: 0.602 MB / 0.8294 GB, free: 21.08 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6421, allocations: 0 / 0.8294 GB, free: 21.08 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.6423, allocations: 59.16 kB / 0.8295 GB, free: 21.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.6427, allocations: 65.48 kB / 0.8295 GB, free: 21.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.6433, allocations: 358.8 kB / 0.8299 GB, free: 20.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.6435, allocations: 120.7 kB / 0.83 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 7.354e-05/0.6435, allocations: 18.45 kB / 0.83 GB, free: 20.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.6436, allocations: 18.17 kB / 0.83 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of SimCode: time 3.01e-07/0.6436, allocations: 0 / 0.83 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of Templates: time 0.01144/0.655, allocations: 5.232 MB / 0.8351 GB, free: 20.11 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.099210422486067] Failed to read output from testmodel.py, exit status != 0: 0.6633822154253721 0.678084714 0.043628281000000005 Calling exit ...