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.0008346/0.0008346, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 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.0007701/0.0007701, allocations: 211.2 kB / 23 MB, free: 2.977 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.8935/0.8935, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7347/0.7347, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.7 MB " [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: 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.0008842/0.0008842, allocations: 67.95 kB / 0.719 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.425/0.4259, allocations: 102 MB / 0.8186 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001329/0.4272, allocations: 0.6928 MB / 0.8193 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.4281, allocations: 1.166 MB / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.4281, allocations: 0 / 0.8204 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.223e-05/0.4282, allocations: 4.75 kB / 0.8205 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.4282, allocations: 12.19 kB / 0.8205 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003581/0.4286, allocations: 131.3 kB / 0.8206 GB, free: 176 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.4287, allocations: 123.2 kB / 0.8207 GB, free: 116 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.4288, allocations: 9.688 kB / 0.8207 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.419e-05/0.4289, allocations: 54.41 kB / 0.8208 GB, free: 84 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.429, allocations: 43.44 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.429, allocations: 13.09 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.429, allocations: 21.17 kB / 0.8208 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.429, allocations: 6.719 kB / 0.8208 GB, free: 56 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.4291, allocations: 40.03 kB / 0.8209 GB, free: 32 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4293, allocations: 136.7 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.4293, allocations: 2.234 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4293, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4293, allocations: 0 / 0.821 GB, free: 15.98 MB / 0.6198 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.000398/0.4297, allocations: 318.5 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.4297, allocations: 12.66 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.181e-05/0.4297, allocations: 10.23 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4298, allocations: 130.3 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4299, allocations: 3.453 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4299, allocations: 6.875 kB / 0.8215 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.705e-05/0.43, allocations: 45.47 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.43, allocations: 192 / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.43, allocations: 5.938 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.43, allocations: 0.6562 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.43, allocations: 15.2 kB / 0.8215 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.4303, allocations: 254.2 kB / 0.8218 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.844e-05/0.4304, allocations: 29.39 kB / 0.8218 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.4304, allocations: 19.56 kB / 0.8218 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.4304, allocations: 0 / 0.8218 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.4305, allocations: 68.84 kB / 0.8219 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.4305, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001654/0.4307, allocations: 74.22 kB / 0.822 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.4307, allocations: 52.02 kB / 0.822 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.4308, allocations: 130.7 kB / 0.8221 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.4308, allocations: 25.7 kB / 0.8222 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.4309, allocations: 97.33 kB / 0.8223 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.4309, allocations: 8.703 kB / 0.8223 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.4309, allocations: 31.53 kB / 0.8223 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.431, allocations: 313 kB / 0.8226 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.26e-05/0.4311, allocations: 72.02 kB / 0.8227 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.4311, allocations: 93.17 kB / 0.8228 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/0.4312, allocations: 91.19 kB / 0.8228 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4312, allocations: 0 / 0.8228 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00018/0.4314, allocations: 205.4 kB / 0.823 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.4314, allocations: 37 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4314, allocations: 3.375 kB / 0.8231 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.4314, allocations: 3.938 kB / 0.8231 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.4315, allocations: 11.95 kB / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4315, allocations: 0.5625 kB / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4316, allocations: 26.52 kB / 0.8231 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.4316, allocations: 6.141 kB / 0.8231 GB, free: 14.05 MB / 0.6198 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.596e-05/0.4317, allocations: 121.6 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.4317, allocations: 11.58 kB / 0.8232 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.4317, allocations: 9.875 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.4317, allocations: 5.219 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.4317, allocations: 0.5625 kB / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4317, allocations: 0 / 0.8233 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.918e-05/0.4318, allocations: 122.3 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4318, allocations: 3.938 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-06/0.4318, allocations: 1.734 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4318, allocations: 2.875 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4318, allocations: 0.7031 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.4318, allocations: 4 kB / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4318, allocations: 0 / 0.8234 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.201e-05/0.4319, allocations: 93.58 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.4319, allocations: 7.266 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.4319, allocations: 4.453 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.198e-05/0.4319, allocations: 0.6094 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.4319, allocations: 1.125 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.4319, allocations: 3 kB / 0.8235 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.041e-05/0.432, allocations: 100.5 kB / 0.8236 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.432, allocations: 0 / 0.8236 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001361/0.4321, allocations: 17.73 kB / 0.8236 GB, free: 13.6 MB / 0.6198 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.335e-05/0.4322, allocations: 101 kB / 0.8237 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001686/0.4324, allocations: 161.7 kB / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.4324, allocations: 0 / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.559e-05/0.4324, allocations: 17.28 kB / 0.8239 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.4326, allocations: 18.25 kB / 0.8239 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.4328, allocations: 177.2 kB / 0.8241 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.25e-05/0.4329, allocations: 79.75 kB / 0.8241 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.4329, allocations: 10.75 kB / 0.8242 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.4329, allocations: 0 / 0.8242 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.001969/0.4348, allocations: 1.167 MB / 0.8253 GB, free: 13 MB / 0.6198 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: 5.542370493989438] Failed to read output from testmodel.py, exit status != 0: 0.4397772243246436 0.449071151 0.018001843 Calling exit ...