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.0006674/0.0006674, 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.0006839/0.0006839, 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.8537/0.8537, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7073/0.7073, allocations: 203.8 MB / 0.5049 GB, free: 10.38 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.0008289/0.0008289, allocations: 76.31 kB / 0.7194 GB, free: 3.5 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3874, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001219/0.3886, allocations: 0.703 MB / 0.8197 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008016/0.3894, allocations: 1.16 MB / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.954e-05/0.3895, allocations: 0 / 0.8209 GB, free: 52 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.3895, allocations: 4.453 kB / 0.8209 GB, free: 48 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.3896, allocations: 15.41 kB / 0.8209 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3899, allocations: 131.1 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.3901, allocations: 130.1 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.3902, allocations: 9.344 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.3902, allocations: 46.52 kB / 0.8212 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.799e-05/0.3903, allocations: 35.53 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.3903, allocations: 12.62 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.217e-05/0.3904, allocations: 29.61 kB / 0.8213 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.008e-05/0.3904, allocations: 10.73 kB / 0.8213 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.803e-05/0.3904, allocations: 33.64 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.3906, allocations: 136.1 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3906, allocations: 4 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3906, allocations: 0 / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3906, allocations: 1.531 kB / 0.8214 GB, free: 15.79 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.0003714/0.391, allocations: 314.4 kB / 0.8217 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.391, allocations: 13.16 kB / 0.8217 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.391, allocations: 9.172 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.635e-05/0.3911, allocations: 130.5 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3911, allocations: 4.672 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3912, allocations: 5.344 kB / 0.8219 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.3912, allocations: 54.31 kB / 0.8219 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3912, allocations: 192 / 0.8219 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3913, allocations: 4.734 kB / 0.8219 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3913, allocations: 1.812 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.392e-05/0.3913, allocations: 11.3 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.3916, allocations: 255.1 kB / 0.8222 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/0.3916, allocations: 30.16 kB / 0.8222 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.3916, allocations: 15.42 kB / 0.8222 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.3917, allocations: 2.719 kB / 0.8223 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.648e-05/0.3917, allocations: 64.55 kB / 0.8223 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3918, allocations: 0 / 0.8223 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001543/0.3919, allocations: 77.38 kB / 0.8224 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.3919, allocations: 51.97 kB / 0.8224 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.748e-05/0.392, allocations: 133.3 kB / 0.8226 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.392, allocations: 28.39 kB / 0.8226 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.95e-05/0.3921, allocations: 95.72 kB / 0.8227 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.3921, allocations: 3.953 kB / 0.8227 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3921, allocations: 34.16 kB / 0.8227 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.694e-05/0.3922, allocations: 314.8 kB / 0.823 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.716e-05/0.3922, allocations: 71.94 kB / 0.8231 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.3923, allocations: 85.77 kB / 0.8232 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.454e-05/0.3924, allocations: 95.3 kB / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3924, allocations: 0 / 0.8233 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001828/0.3926, allocations: 203.8 kB / 0.8235 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.3926, allocations: 38.33 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3926, allocations: 1 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3926, allocations: 1.281 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/0.3927, allocations: 3.781 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.3927, allocations: 1.094 kB / 0.8235 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.3928, allocations: 28.38 kB / 0.8235 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.3928, allocations: 6.078 kB / 0.8235 GB, free: 13.86 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.127e-05/0.3928, allocations: 125.7 kB / 0.8236 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-06/0.3929, allocations: 7.734 kB / 0.8237 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.3929, allocations: 14.47 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-06/0.3929, allocations: 0 / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3929, allocations: 1.578 kB / 0.8237 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3929, allocations: 3.938 kB / 0.8237 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.548e-05/0.3929, allocations: 117 kB / 0.8238 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3929, allocations: 11.86 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.393, allocations: 6.625 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.62e-07/0.393, allocations: 0 / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.393, allocations: 2.156 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.393, allocations: 4 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.393, allocations: 1.438 kB / 0.8238 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.634e-05/0.393, allocations: 90.11 kB / 0.8239 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-06/0.3931, allocations: 7.141 kB / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.3931, allocations: 3.031 kB / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-06/0.3931, allocations: 0 / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.3931, allocations: 3.891 kB / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3931, allocations: 3.938 kB / 0.8239 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.037e-05/0.3931, allocations: 99.61 kB / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3931, allocations: 0 / 0.824 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001381/0.3933, allocations: 21.78 kB / 0.824 GB, free: 13.39 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 8.658e-05/0.3934, allocations: 101.4 kB / 0.8241 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.3935, allocations: 151 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3935, allocations: 1.281 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.3936, allocations: 17.86 kB / 0.8243 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.3937, allocations: 22.31 kB / 0.8243 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002402/0.3939, allocations: 174.1 kB / 0.8245 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.394, allocations: 74.62 kB / 0.8245 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.394, allocations: 14.56 kB / 0.8246 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.71e-07/0.394, allocations: 0 / 0.8246 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.001952/0.396, allocations: 1.167 MB / 0.8257 GB, free: 12.82 MB / 0.6198 GB " [Timeout remaining time 660] 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.1887110117822886] Failed to read output from testmodel.py, exit status != 0: 0.4008369529619813 0.41006702500000003 0.017722197000000002 Calling exit ...