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.001071/0.001071, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001104/0.001104, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-545:108: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-545:116: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.8773/0.8773, allocations: 154.6 MB / 414.8 MB, free: 488 kB / 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 1.673e-06/1.673e-06, allocations: 0 / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.975e-05, allocations: 2.312 kB / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002078/0.002097, allocations: 0.7651 MB / 480.9 MB, free: 6.102 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.003784, allocations: 1.186 MB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.003842, allocations: 0.7188 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.003876, allocations: 3.938 kB / 482 MB, free: 4.902 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.003991, allocations: 13.58 kB / 482.1 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.004458, allocations: 130.5 kB / 482.2 MB, free: 4.77 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002126/0.00467, allocations: 132.9 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.944e-05/0.00475, allocations: 4 kB / 482.3 MB, free: 4.648 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.004879, allocations: 63.12 kB / 482.4 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004991, allocations: 39.88 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.005019, allocations: 12.72 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.975e-05/0.005109, allocations: 27.98 kB / 482.5 MB, free: 4.512 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.005131, allocations: 8.844 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.209e-05/0.005183, allocations: 31.97 kB / 482.5 MB, free: 4.473 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.005355, allocations: 96.42 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005357, allocations: 0 / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.005357, allocations: 1.25 kB / 482.6 MB, free: 4.379 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.005361, allocations: 0 / 482.6 MB, free: 4.379 MB / 442.7 MB 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.0004381/0.005799, allocations: 302.1 kB / 482.9 MB, free: 4.055 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.005843, allocations: 12.56 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.005886, allocations: 8.922 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.005995, allocations: 114.8 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.006014, allocations: 384 / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.006034, allocations: 12.38 kB / 483 MB, free: 3.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.006121, allocations: 48.28 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.006128, allocations: 1.094 kB / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.006136, allocations: 384 / 483.1 MB, free: 3.832 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.006142, allocations: 4.312 kB / 483.1 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.751e-05/0.00617, allocations: 13.39 kB / 483.1 MB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003247/0.006495, allocations: 176.8 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.999e-05/0.006545, allocations: 18.58 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.669e-05/0.006561, allocations: 13.58 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.006567, allocations: 0.625 kB / 483.3 MB, free: 3.586 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001003/0.006668, allocations: 65.69 kB / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.006669, allocations: 0 / 483.4 MB, free: 3.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=4): time 0.000135/0.006804, allocations: 54.23 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.006842, allocations: 55.41 kB / 483.5 MB, free: 3.387 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.006936, allocations: 119.3 kB / 483.6 MB, free: 3.258 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.00696, allocations: 30.52 kB / 483.6 MB, free: 3.223 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.007013, allocations: 100 kB / 483.7 MB, free: 3.121 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.007029, allocations: 9.719 kB / 483.7 MB, free: 3.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.007093, allocations: 33.7 kB / 483.8 MB, free: 3.074 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.007201, allocations: 314.8 kB / 484.1 MB, free: 2.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.007276, allocations: 49.69 kB / 484.1 MB, free: 2.703 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.056e-05/0.007357, allocations: 80.17 kB / 484.2 MB, free: 2.609 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.007455, allocations: 77.97 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007458, allocations: 0 / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001985/0.007656, allocations: 145.8 kB / 484.4 MB, free: 2.359 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.007699, allocations: 41.69 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.007705, allocations: 1.656 kB / 484.5 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.007722, allocations: 7.938 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.713e-05/0.007769, allocations: 3.938 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.007775, allocations: 4 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.007912, allocations: 16.86 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.007933, allocations: 7.984 kB / 484.5 MB, free: 2.273 MB / 442.7 MB 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 8.849e-05/0.008022, allocations: 110.8 kB / 484.6 MB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.008037, allocations: 8.875 kB / 484.6 MB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.008064, allocations: 4 kB / 484.6 MB, free: 2.145 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.008068, allocations: 3.938 kB / 484.6 MB, free: 2.141 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.008072, allocations: 11.02 kB / 484.6 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.008077, allocations: 3.984 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.008169, allocations: 69.89 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.008171, allocations: 0 / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.008194, allocations: 3.984 kB / 484.7 MB, free: 2.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.008199, allocations: 4.75 kB / 484.7 MB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.008206, allocations: 4 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.008208, allocations: 0.6875 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.00821, allocations: 1.312 kB / 484.7 MB, free: 2.031 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.008315, allocations: 73 kB / 484.8 MB, free: 1.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.008329, allocations: 7.938 kB / 484.8 MB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008343, allocations: 5.406 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.833e-05/0.008362, allocations: 0.875 kB / 484.8 MB, free: 1.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.008385, allocations: 3.938 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.008389, allocations: 1.094 kB / 484.8 MB, free: 1.926 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.576e-05/0.008425, allocations: 31.67 kB / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008425, allocations: 0 / 484.8 MB, free: 1.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.008628, allocations: 16.88 kB / 484.9 MB, free: 1.879 MB / 442.7 MB 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.000117/0.008745, allocations: 85.75 kB / 484.9 MB, free: 1.789 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.008926, allocations: 141.9 kB / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.008929, allocations: 0 / 485.1 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.008954, allocations: 13.42 kB / 485.1 MB, free: 1.613 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.009105, allocations: 30.02 kB / 485.1 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.009392, allocations: 148.1 kB / 485.3 MB, free: 1.418 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.72e-05/0.00943, allocations: 59.34 kB / 485.3 MB, free: 1.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.621e-05/0.009456, allocations: 0.5938 kB / 485.3 MB, free: 1.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.009559, allocations: 68.14 kB / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.00956, allocations: 0 / 485.4 MB, free: 1.273 MB / 442.7 MB Notification: Performance of Templates: time 0.004349/0.01391, allocations: 1.61 MB / 487 MB, free: 15.79 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7494591288268566]