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.0007493/0.0007493, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007852/0.0007852, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8277/0.8277, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.6885/0.6885, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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: 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.0008441/0.0008441, allocations: 68.69 kB / 0.6196 GB, free: 12 MB / 0.5417 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3882, allocations: 102 MB / 0.7191 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001409/0.3896, allocations: 0.6993 MB / 0.7198 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3906, allocations: 1.156 MB / 0.721 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.3907, allocations: 0 / 0.721 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.3907, allocations: 0 / 0.721 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.3908, allocations: 15.86 kB / 0.721 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3912, allocations: 137.7 kB / 0.7211 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.3913, allocations: 123.8 kB / 0.7212 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.3914, allocations: 15.98 kB / 0.7212 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.838e-05/0.3915, allocations: 67.83 kB / 0.7213 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.3916, allocations: 35.89 kB / 0.7213 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.3916, allocations: 12 kB / 0.7213 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.065e-05/0.3916, allocations: 23.98 kB / 0.7214 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.3916, allocations: 11.94 kB / 0.7214 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.3917, allocations: 39.89 kB / 0.7214 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.3919, allocations: 159.5 kB / 0.7216 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3919, allocations: 0 / 0.7216 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3919, allocations: 0 / 0.7216 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3919, allocations: 0 / 0.7216 GB, free: 11.19 MB / 0.6042 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.0004159/0.3923, allocations: 327.8 kB / 0.7219 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3923, allocations: 8.031 kB / 0.7219 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.3924, allocations: 8.891 kB / 0.7219 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.3925, allocations: 130.4 kB / 0.722 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3925, allocations: 4.375 kB / 0.722 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.3925, allocations: 4.375 kB / 0.722 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.829e-05/0.3926, allocations: 42.25 kB / 0.7221 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3926, allocations: 192 / 0.7221 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3926, allocations: 3.938 kB / 0.7221 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3926, allocations: 0 / 0.7221 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.805e-05/0.3927, allocations: 19.98 kB / 0.7221 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003115/0.393, allocations: 252.5 kB / 0.7223 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.654e-05/0.393, allocations: 34.56 kB / 0.7224 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.3931, allocations: 14.06 kB / 0.7224 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.118e-06/0.3931, allocations: 0 / 0.7224 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.3932, allocations: 75.28 kB / 0.7225 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3932, allocations: 0 / 0.7225 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0001741/0.3934, allocations: 69.69 kB / 0.7225 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.3934, allocations: 55.39 kB / 0.7226 GB, free: 10.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.3935, allocations: 129.7 kB / 0.7227 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.3935, allocations: 33.7 kB / 0.7227 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.348e-05/0.3935, allocations: 92.12 kB / 0.7228 GB, free: 9.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.22e-05/0.3936, allocations: 3.953 kB / 0.7228 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.3936, allocations: 33.7 kB / 0.7229 GB, free: 9.707 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/0.3937, allocations: 314.8 kB / 0.7232 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.3938, allocations: 69.67 kB / 0.7232 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.3938, allocations: 88.27 kB / 0.7233 GB, free: 9.215 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.319e-05/0.3939, allocations: 96.27 kB / 0.7234 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3939, allocations: 0 / 0.7234 GB, free: 9.105 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001941/0.3941, allocations: 208.9 kB / 0.7236 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.3941, allocations: 33.7 kB / 0.7236 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3942, allocations: 0 / 0.7236 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3942, allocations: 0 / 0.7236 GB, free: 8.844 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.3942, allocations: 11.98 kB / 0.7236 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3942, allocations: 3.938 kB / 0.7236 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3943, allocations: 23.97 kB / 0.7237 GB, free: 8.805 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3944, allocations: 4 kB / 0.7237 GB, free: 8.801 MB / 0.6042 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 7.493e-05/0.3944, allocations: 130.8 kB / 0.7238 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.3944, allocations: 11.89 kB / 0.7238 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.3945, allocations: 7.984 kB / 0.7238 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3945, allocations: 0 / 0.7238 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3945, allocations: 0 / 0.7238 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3945, allocations: 0 / 0.7238 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.002e-05/0.3945, allocations: 117.3 kB / 0.7239 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3945, allocations: 3.938 kB / 0.7239 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.3946, allocations: 0 / 0.7239 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3946, allocations: 240 / 0.7239 GB, free: 8.492 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3946, allocations: 11.98 kB / 0.7239 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3946, allocations: 0 / 0.7239 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3946, allocations: 0 / 0.7239 GB, free: 8.48 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.292e-05/0.3947, allocations: 97 kB / 0.724 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.3947, allocations: 3.938 kB / 0.724 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.3947, allocations: 8 kB / 0.724 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.674e-05/0.3947, allocations: 3.984 kB / 0.7241 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.3947, allocations: 0 / 0.7241 GB, free: 8.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3947, allocations: 7.938 kB / 0.7241 GB, free: 8.344 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.3948, allocations: 99.27 kB / 0.7242 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.3948, allocations: 0 / 0.7242 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001491/0.3949, allocations: 20 kB / 0.7242 GB, free: 8.227 MB / 0.6042 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 0.000118/0.395, allocations: 103.2 kB / 0.7243 GB, free: 8.117 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.3952, allocations: 153 kB / 0.7244 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3952, allocations: 0 / 0.7244 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.3952, allocations: 15.98 kB / 0.7244 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.3954, allocations: 22.78 kB / 0.7245 GB, free: 7.914 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000272/0.3957, allocations: 175.9 kB / 0.7246 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.3957, allocations: 71.33 kB / 0.7247 GB, free: 7.617 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.3958, allocations: 12.5 kB / 0.7247 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.3958, allocations: 0 / 0.7247 GB, free: 7.605 MB / 0.6042 GB Notification: Performance of Templates: time 0.001938/0.3977, allocations: 1.188 MB / 0.7259 GB, free: 6.438 MB / 0.6042 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.275479529984295] Failed to read output from testmodel.py, exit status != 0: 0.4031444010324776 0.41103689699999996 0.017507233 Calling exit ...