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.0008932/0.0008932, allocations: 76.45 kB / 19.9 MB, free: 12 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.001118/0.001118, allocations: 169.9 kB / 23.18 MB, free: 1.379 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.9017/0.9017, allocations: 177.2 MB / 203.6 MB, free: 5.762 MB / 186.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:686: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:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/package.mo): time 0.7298/0.7298, allocations: 154.9 MB / 414.9 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.001323/0.001323, allocations: 67.89 kB / 0.6199 GB, free: 12.74 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5265/0.5278, allocations: 102 MB / 0.7195 GB, free: 23.51 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00157/0.5293, allocations: 0.6986 MB / 0.7202 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.5305, allocations: 1.157 MB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.5305, allocations: 1.094 kB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.5305, allocations: 3.938 kB / 0.7213 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.562e-05/0.5306, allocations: 17.66 kB / 0.7213 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.531, allocations: 139.7 kB / 0.7214 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.5312, allocations: 125.4 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.5313, allocations: 9.562 kB / 0.7216 GB, free: 22.08 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 9.544e-05/0.5314, allocations: 68.55 kB / 0.7216 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.5315, allocations: 37.7 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.166e-05/0.5315, allocations: 12.66 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.5315, allocations: 20.7 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.5316, allocations: 12.39 kB / 0.7217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.5316, allocations: 39.66 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.5318, allocations: 142.3 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.5318, allocations: 0.7031 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.492e-06/0.5318, allocations: 1.344 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.5318, allocations: 0 / 0.7219 GB, free: 21.95 MB / 0.6355 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.0004268/0.5322, allocations: 321.6 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5323, allocations: 10.5 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.997e-05/0.5323, allocations: 10.45 kB / 0.7222 GB, free: 21.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.531e-05/0.5324, allocations: 122.2 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5325, allocations: 7.922 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.5325, allocations: 10.34 kB / 0.7224 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.5326, allocations: 41.98 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.5326, allocations: 4.188 kB / 0.7224 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.5326, allocations: 3.938 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5326, allocations: 1.953 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.966e-05/0.5326, allocations: 12.12 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003364/0.533, allocations: 248.7 kB / 0.7227 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.182e-05/0.533, allocations: 30.75 kB / 0.7227 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.176e-05/0.5331, allocations: 18.7 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.5331, allocations: 1.219 kB / 0.7227 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.5332, allocations: 65.48 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.5332, allocations: 4 kB / 0.7228 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002023/0.5334, allocations: 75.52 kB / 0.7228 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.5334, allocations: 53.89 kB / 0.7229 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.07e-05/0.5335, allocations: 129.1 kB / 0.723 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.5335, allocations: 28.84 kB / 0.723 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.5336, allocations: 93.59 kB / 0.7231 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.5336, allocations: 13.8 kB / 0.7231 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.5336, allocations: 30.8 kB / 0.7232 GB, free: 20.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.754e-05/0.5337, allocations: 319.3 kB / 0.7235 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.22e-05/0.5338, allocations: 66.3 kB / 0.7235 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.5338, allocations: 93.83 kB / 0.7236 GB, free: 20.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.12e-05/0.5339, allocations: 96.02 kB / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5339, allocations: 0 / 0.7237 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001811/0.5341, allocations: 199.5 kB / 0.7239 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5341, allocations: 39.45 kB / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5341, allocations: 0 / 0.7239 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.5341, allocations: 1.766 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.63e-05/0.5342, allocations: 4.391 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5342, allocations: 0 / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.5343, allocations: 29.23 kB / 0.724 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.5343, allocations: 5.953 kB / 0.724 GB, free: 20.02 MB / 0.6355 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 5.296e-05/0.5344, allocations: 129.7 kB / 0.7241 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.5344, allocations: 11.33 kB / 0.7241 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.5344, allocations: 10.2 kB / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.5344, allocations: 1.031 kB / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5344, allocations: 0 / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5344, allocations: 2.172 kB / 0.7241 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.213e-05/0.5345, allocations: 119.3 kB / 0.7243 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5345, allocations: 3.938 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.025e-05/0.5345, allocations: 3.5 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5345, allocations: 1.062 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.5345, allocations: 1.078 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5345, allocations: 1.125 kB / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.5345, allocations: 0 / 0.7243 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.016e-05/0.5346, allocations: 94.84 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.5346, allocations: 7.125 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.5346, allocations: 1.344 kB / 0.7244 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.131e-05/0.5346, allocations: 4.984 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.5346, allocations: 11.3 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-06/0.5346, allocations: 1.625 kB / 0.7244 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.318e-05/0.5347, allocations: 102.8 kB / 0.7245 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.5347, allocations: 1.25 kB / 0.7245 GB, free: 19.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001435/0.5348, allocations: 15.75 kB / 0.7245 GB, free: 19.55 MB / 0.6355 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.0001155/0.5349, allocations: 101.8 kB / 0.7246 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.5351, allocations: 152.2 kB / 0.7247 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5351, allocations: 0 / 0.7247 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.5351, allocations: 21.73 kB / 0.7248 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.5353, allocations: 15.75 kB / 0.7248 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.5356, allocations: 147.8 kB / 0.7249 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.974e-05/0.5356, allocations: 67.91 kB / 0.725 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.5356, allocations: 4.344 kB / 0.725 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.5356, allocations: 11.56 kB / 0.725 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of SimCode: time 4.91e-07/0.5356, allocations: 4 kB / 0.725 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of Templates: time 0.003447/0.5391, allocations: 1.493 MB / 0.7265 GB, free: 18.93 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2293190020136535] Failed to read output from testmodel.py, exit status != 0: 0.5451953720767051 0.552711261 0.019097633000000003 Calling exit ...