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.0008012/0.0008012, allocations: 114.4 kB / 19.7 MB, free: 0.5273 MB / 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.0007576/0.0007576, allocations: 215.8 kB / 23.01 MB, free: 3.125 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.8786/0.8786, allocations: 230.6 MB / 256.8 MB, free: 3.445 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7507/0.7507, allocations: 203.8 MB / 0.5049 GB, free: 0.7227 MB / 410.7 MB " [Timeout remaining time 179] 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: 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.001249/0.001249, allocations: 63.91 kB / 0.7195 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5066, allocations: 102 MB / 0.8191 GB, free: 25.24 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001656/0.5082, allocations: 0.7118 MB / 0.8198 GB, free: 24.8 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.5095, allocations: 1.178 MB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/0.5095, allocations: 2.625 kB / 0.821 GB, free: 23.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.211e-05/0.5095, allocations: 4.5 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.5096, allocations: 12.66 kB / 0.821 GB, free: 23.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.5101, allocations: 144.3 kB / 0.8211 GB, free: 23.85 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.5102, allocations: 118.3 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.5103, allocations: 10.91 kB / 0.8212 GB, free: 23.79 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.055e-05/0.5104, allocations: 52.64 kB / 0.8213 GB, free: 23.76 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.5105, allocations: 37.19 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.88e-05/0.5106, allocations: 13.25 kB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.5106, allocations: 29.91 kB / 0.8214 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.011e-05/0.5107, allocations: 10.08 kB / 0.8214 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.986e-05/0.5107, allocations: 44.06 kB / 0.8214 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.5109, allocations: 136 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5109, allocations: 1 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5109, allocations: 1.25 kB / 0.8215 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.511, allocations: 0.6094 kB / 0.8215 GB, free: 23.66 MB / 0.6355 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.0003816/0.5113, allocations: 323.6 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5114, allocations: 10.91 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.5114, allocations: 6.844 kB / 0.8219 GB, free: 23.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.341e-05/0.5115, allocations: 118.1 kB / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.5115, allocations: 5.344 kB / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.5115, allocations: 9.688 kB / 0.822 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.808e-05/0.5116, allocations: 45.88 kB / 0.822 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5116, allocations: 0.7188 kB / 0.822 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.5116, allocations: 9.609 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5116, allocations: 0 / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.769e-05/0.5117, allocations: 14.39 kB / 0.8221 GB, free: 23.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.512, allocations: 297.8 kB / 0.8224 GB, free: 22.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.608e-05/0.5121, allocations: 35.3 kB / 0.8224 GB, free: 22.85 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.5121, allocations: 17.02 kB / 0.8224 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-06/0.5121, allocations: 0 / 0.8224 GB, free: 22.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.5123, allocations: 60.72 kB / 0.8225 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.5123, allocations: 0 / 0.8225 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001642/0.5124, allocations: 75.78 kB / 0.8225 GB, free: 22.74 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.5125, allocations: 60.69 kB / 0.8226 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.449e-05/0.5125, allocations: 129.4 kB / 0.8227 GB, free: 22.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.5126, allocations: 28.08 kB / 0.8227 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.5126, allocations: 89.47 kB / 0.8228 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.5126, allocations: 14.16 kB / 0.8228 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.5127, allocations: 30.66 kB / 0.8229 GB, free: 22.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.5127, allocations: 318.7 kB / 0.8232 GB, free: 22.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.611e-05/0.5128, allocations: 38.66 kB / 0.8232 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.5128, allocations: 56.75 kB / 0.8233 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.939e-05/0.5129, allocations: 103.3 kB / 0.8234 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5129, allocations: 0 / 0.8234 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002049/0.5131, allocations: 167.5 kB / 0.8235 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.5132, allocations: 38.94 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5132, allocations: 0.6562 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.5132, allocations: 1.938 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/0.5132, allocations: 2.906 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5132, allocations: 1.094 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.5134, allocations: 28.62 kB / 0.8236 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.5134, allocations: 6.438 kB / 0.8236 GB, free: 21.82 MB / 0.6355 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 5.632e-05/0.5135, allocations: 127.5 kB / 0.8237 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.097e-05/0.5135, allocations: 10.39 kB / 0.8237 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.5135, allocations: 6.344 kB / 0.8237 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.5135, allocations: 3.938 kB / 0.8237 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5135, allocations: 0.9375 kB / 0.8237 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5135, allocations: 0 / 0.8237 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.415e-05/0.5136, allocations: 144.3 kB / 0.8239 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5136, allocations: 0 / 0.8239 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.5136, allocations: 6.719 kB / 0.8239 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.5136, allocations: 1.094 kB / 0.8239 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.5136, allocations: 5.359 kB / 0.8239 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5136, allocations: 0.5312 kB / 0.8239 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5136, allocations: 0.6094 kB / 0.8239 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.5137, allocations: 90.38 kB / 0.824 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.19e-05/0.5137, allocations: 6.25 kB / 0.824 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.5137, allocations: 1.594 kB / 0.824 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.5138, allocations: 8.969 kB / 0.824 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.5138, allocations: 2.953 kB / 0.824 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.5138, allocations: 2.156 kB / 0.824 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.222e-05/0.5138, allocations: 103.3 kB / 0.8241 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5138, allocations: 0 / 0.8241 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001504/0.514, allocations: 20.42 kB / 0.8241 GB, free: 21.32 MB / 0.6355 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.0001263/0.5141, allocations: 97.33 kB / 0.8242 GB, free: 21.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001891/0.5143, allocations: 127.3 kB / 0.8243 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5143, allocations: 0 / 0.8243 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.714e-05/0.5143, allocations: 19.03 kB / 0.8244 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.5145, allocations: 28.89 kB / 0.8244 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.5148, allocations: 170.4 kB / 0.8245 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.294e-05/0.5149, allocations: 0.6887 MB / 0.8252 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.5149, allocations: 10.22 kB / 0.8252 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/0.5149, allocations: 0 / 0.8252 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.002629/0.5175, allocations: 1.16 MB / 0.8264 GB, free: 20.16 MB / 0.6355 GB " [Timeout remaining time 659] 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.7206465939525515] Failed to read output from testmodel.py, exit status != 0: 0.5244935560040176 0.532857538 0.020016811000000002 Calling exit ...