Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001375/0.001375, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001706/0.001706, allocations: 216.1 kB / 22.25 MB, free: 4.859 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 1.236/1.236, allocations: 203.5 MB / 0.5038 GB, free: 4.883 MB / 414.1 MB " [Timeout remaining time 178] 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.002244/0.002244, allocations: 71.84 kB / 0.7183 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7169, allocations: 102 MB / 0.8179 GB, free: 29.06 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002271/0.7191, allocations: 0.9114 MB / 0.8187 GB, free: 28.52 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001824/0.721, allocations: 1.455 MB / 0.8202 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.425e-05/0.721, allocations: 7.156 kB / 0.8202 GB, free: 27.46 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.826e-05/0.7211, allocations: 13.17 kB / 0.8202 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.7212, allocations: 64.98 kB / 0.8202 GB, free: 27.4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.7223, allocations: 443.2 kB / 0.8207 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005363/0.7228, allocations: 0.4884 MB / 0.8211 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.7229, allocations: 30.64 kB / 0.8212 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.7232, allocations: 183 kB / 0.8214 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.7234, allocations: 149.1 kB / 0.8215 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.7236, allocations: 48.47 kB / 0.8215 GB, free: 26.78 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.7237, allocations: 62.88 kB / 0.8216 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.7238, allocations: 38.75 kB / 0.8216 GB, free: 26.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.724, allocations: 149.3 kB / 0.8218 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006193/0.7246, allocations: 0.4946 MB / 0.8223 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7246, allocations: 0.5938 kB / 0.8223 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.044e-06/0.7246, allocations: 0 / 0.8223 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.7246, allocations: 1.031 kB / 0.8223 GB, free: 26.5 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.0007881/0.7254, allocations: 0.5664 MB / 0.8228 GB, free: 26 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7255, allocations: 9.125 kB / 0.8228 GB, free: 26 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.7256, allocations: 32.61 kB / 0.8229 GB, free: 25.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7257, allocations: 160.9 kB / 0.823 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.831e-05/0.7258, allocations: 15.55 kB / 0.823 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.7258, allocations: 25.09 kB / 0.823 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.726, allocations: 126.8 kB / 0.8232 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.726, allocations: 2.938 kB / 0.8232 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.7261, allocations: 5.656 kB / 0.8232 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.7261, allocations: 2.375 kB / 0.8232 GB, free: 25.73 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.7262, allocations: 57.84 kB / 0.8232 GB, free: 25.7 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008587/0.727, allocations: 0.7189 MB / 0.8239 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.7272, allocations: 116.9 kB / 0.824 GB, free: 25.01 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.16e-05/0.7273, allocations: 52.36 kB / 0.8241 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.7273, allocations: 3.719 kB / 0.8241 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003052/0.7276, allocations: 178.6 kB / 0.8243 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=16): time 1.784e-06/0.7276, allocations: 1.094 kB / 0.8243 GB, free: 24.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=16): time 0.0004982/0.7281, allocations: 227.3 kB / 0.8245 GB, free: 24.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.7282, allocations: 145.6 kB / 0.8246 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.7284, allocations: 235.7 kB / 0.8249 GB, free: 24.44 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.7285, allocations: 38.31 kB / 0.8249 GB, free: 24.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7286, allocations: 132.5 kB / 0.825 GB, free: 24.29 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.7286, allocations: 35.03 kB / 0.825 GB, free: 24.26 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.7288, allocations: 97.23 kB / 0.8251 GB, free: 24.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.7289, allocations: 334.2 kB / 0.8255 GB, free: 23.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.7292, allocations: 272.8 kB / 0.8257 GB, free: 23.7 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.7296, allocations: 359.9 kB / 0.8261 GB, free: 23.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.73, allocations: 366.3 kB / 0.8264 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.73, allocations: 0 / 0.8264 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001007/0.731, allocations: 0.6893 MB / 0.8271 GB, free: 22.63 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/0.7311, allocations: 136.2 kB / 0.8272 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7311, allocations: 2.281 kB / 0.8272 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.7312, allocations: 5.5 kB / 0.8272 GB, free: 22.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.7313, allocations: 21.52 kB / 0.8272 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.7313, allocations: 5.953 kB / 0.8273 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/0.7319, allocations: 108.6 kB / 0.8274 GB, free: 22.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/0.732, allocations: 27.02 kB / 0.8274 GB, free: 22.47 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.0001475/0.7322, allocations: 158 kB / 0.8275 GB, free: 22.33 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.7322, allocations: 18.23 kB / 0.8275 GB, free: 22.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.7322, allocations: 22.8 kB / 0.8276 GB, free: 22.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.7322, allocations: 6.797 kB / 0.8276 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.7323, allocations: 1.406 kB / 0.8276 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.7323, allocations: 1.359 kB / 0.8276 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.7324, allocations: 184.2 kB / 0.8278 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7324, allocations: 0 / 0.8278 GB, free: 22.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.7325, allocations: 18.45 kB / 0.8278 GB, free: 22.13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.7325, allocations: 9.156 kB / 0.8278 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.7325, allocations: 4.734 kB / 0.8278 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.7325, allocations: 1.797 kB / 0.8278 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7325, allocations: 1.188 kB / 0.8278 GB, free: 22.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.7328, allocations: 218.8 kB / 0.828 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.452e-05/0.7328, allocations: 24.91 kB / 0.828 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.7329, allocations: 3.891 kB / 0.828 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.189e-05/0.7329, allocations: 5.953 kB / 0.828 GB, free: 21.96 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.733, allocations: 21.44 kB / 0.8281 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.733, allocations: 6.75 kB / 0.8281 GB, free: 21.95 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000149/0.7331, allocations: 176.7 kB / 0.8282 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of sort global known variables: time 6e-08/0.7331, allocations: 0 / 0.8282 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003771/0.7335, allocations: 73.11 kB / 0.8283 GB, free: 21.83 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.0001437/0.7337, allocations: 108.8 kB / 0.8284 GB, free: 21.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007116/0.7344, allocations: 0.611 MB / 0.829 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7344, allocations: 0 / 0.829 GB, free: 21.23 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.7345, allocations: 63.2 kB / 0.8291 GB, free: 21.21 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004802/0.735, allocations: 67.23 kB / 0.8291 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.7355, allocations: 351 kB / 0.8295 GB, free: 20.94 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.7357, allocations: 115.7 kB / 0.8296 GB, free: 20.86 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.73e-05/0.7357, allocations: 27.22 kB / 0.8296 GB, free: 20.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.975e-05/0.7358, allocations: 19.19 kB / 0.8296 GB, free: 20.85 MB / 0.6387 GB Notification: Performance of SimCode: time 3.61e-07/0.7358, allocations: 0 / 0.8296 GB, free: 20.85 MB / 0.6387 GB Notification: Performance of Templates: time 0.01167/0.7475, allocations: 5.218 MB / 0.8347 GB, free: 20.27 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.154019210487604] Failed to read output from testmodel.py, exit status != 0: 0.7559042926877737 0.769483657 0.041504318000000005 Calling exit ...