Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007611/0.0007611, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001157/0.001157, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8485/0.8485, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 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 0.7113/0.7113, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 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 179] 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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.715e-05/1.919e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001152/0.001171, allocations: 0.7 MB / 0.6201 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.002208, allocations: 1.159 MB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.489e-05/0.002253, allocations: 0 / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/0.00228, allocations: 3.938 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.002357, allocations: 23.86 kB / 0.6212 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.002729, allocations: 132.9 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.002866, allocations: 123.8 kB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 8.197e-05/0.002948, allocations: 7.984 kB / 0.6215 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.003039, allocations: 67.91 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.201e-05/0.003121, allocations: 35.88 kB / 0.6216 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.003143, allocations: 15.94 kB / 0.6216 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.003191, allocations: 23.98 kB / 0.6216 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.00321, allocations: 7.938 kB / 0.6216 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.38e-05/0.003254, allocations: 39.95 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.003413, allocations: 155.6 kB / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003415, allocations: 0 / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.61e-07/0.003416, allocations: 0 / 0.6218 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.003419, allocations: 0 / 0.6218 GB, free: 10.63 MB / 0.5886 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.0003856/0.003805, allocations: 311.9 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.003836, allocations: 12.03 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.003875, allocations: 4.938 kB / 0.6221 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.342e-05/0.003968, allocations: 129.6 kB / 0.6222 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.003983, allocations: 4.375 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.003997, allocations: 4.375 kB / 0.6222 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.004074, allocations: 50.25 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004081, allocations: 192 / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.004088, allocations: 384 / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.004093, allocations: 4.375 kB / 0.6223 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.447e-05/0.004128, allocations: 15.92 kB / 0.6223 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.004424, allocations: 260.5 kB / 0.6226 GB, free: 9.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.943e-05/0.004474, allocations: 26.56 kB / 0.6226 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.004492, allocations: 16.92 kB / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.0045, allocations: 0 / 0.6226 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.455e-05/0.004594, allocations: 71.31 kB / 0.6227 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.004595, allocations: 7.938 kB / 0.6227 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001632/0.004758, allocations: 77.58 kB / 0.6227 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.004787, allocations: 51.41 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.004861, allocations: 129.8 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.004876, allocations: 25.7 kB / 0.6229 GB, free: 9.293 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.004922, allocations: 88.14 kB / 0.623 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.314e-05/0.004936, allocations: 11.94 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/0.004979, allocations: 33.7 kB / 0.6231 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.005046, allocations: 310.8 kB / 0.6234 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.207e-05/0.005118, allocations: 73.67 kB / 0.6234 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.005186, allocations: 88.27 kB / 0.6235 GB, free: 8.66 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.888e-05/0.005265, allocations: 96.2 kB / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005267, allocations: 0 / 0.6236 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.005446, allocations: 196.9 kB / 0.6238 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.005474, allocations: 41.64 kB / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.005479, allocations: 64 / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.005492, allocations: 8 kB / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.177e-05/0.005534, allocations: 0 / 0.6238 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.005539, allocations: 8 kB / 0.6239 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.00565, allocations: 35.89 kB / 0.6239 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.005661, allocations: 4 kB / 0.6239 GB, free: 8.238 MB / 0.5886 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 6.101e-05/0.005722, allocations: 118.8 kB / 0.624 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-06/0.005732, allocations: 11.89 kB / 0.624 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.005753, allocations: 11.98 kB / 0.624 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.005757, allocations: 4 kB / 0.624 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.00576, allocations: 0 / 0.624 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005763, allocations: 0 / 0.624 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.782e-05/0.005841, allocations: 113.3 kB / 0.6241 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.005842, allocations: 0 / 0.6241 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.174e-05/0.005853, allocations: 8 kB / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.005855, allocations: 0 / 0.6242 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.005863, allocations: 3.938 kB / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.005863, allocations: 0 / 0.6242 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.005865, allocations: 7.922 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.955e-05/0.005945, allocations: 89.02 kB / 0.6242 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.005954, allocations: 7.953 kB / 0.6243 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.005966, allocations: 7.938 kB / 0.6243 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.005977, allocations: 0 / 0.6243 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.005999, allocations: 11.98 kB / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.006002, allocations: 0 / 0.6243 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.006043, allocations: 99.27 kB / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006043, allocations: 0 / 0.6244 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000135/0.006178, allocations: 16 kB / 0.6244 GB, free: 7.676 MB / 0.5886 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 9.918e-05/0.006277, allocations: 99.23 kB / 0.6245 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.006446, allocations: 153.3 kB / 0.6246 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.006447, allocations: 0 / 0.6246 GB, free: 7.398 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.778e-05/0.006475, allocations: 24.11 kB / 0.6246 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.006633, allocations: 15.91 kB / 0.6247 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002486/0.006882, allocations: 174.4 kB / 0.6248 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.00692, allocations: 71.33 kB / 0.6249 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.006937, allocations: 12.5 kB / 0.6249 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of SimCode: time 5.71e-07/0.006937, allocations: 0 / 0.6249 GB, free: 7.059 MB / 0.5886 GB Notification: Performance of Templates: time 0.001753/0.008691, allocations: 1.175 MB / 0.6261 GB, free: 5.902 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.981564024463296] Failed to read output from testmodel.py, exit status != 0: 0.012922936119139194 0.020136015 0.015171903 Calling exit ...