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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001502/0.001502, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.781 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.274/1.274, allocations: 203.5 MB / 0.5039 GB, free: 4.867 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.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.002197/0.002197, allocations: 63.91 kB / 0.7183 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.693/0.6952, allocations: 102 MB / 0.8179 GB, free: 29.11 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002811/0.698, allocations: 0.7065 MB / 0.8186 GB, free: 28.7 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.7003, allocations: 1.152 MB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.7004, allocations: 0.5625 kB / 0.8197 GB, free: 27.87 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.422e-05/0.7004, allocations: 4.5 kB / 0.8197 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.7005, allocations: 20.48 kB / 0.8197 GB, free: 27.85 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000587/0.7011, allocations: 134.8 kB / 0.8198 GB, free: 27.78 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0002928/0.7014, allocations: 123.2 kB / 0.82 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.7015, allocations: 14.19 kB / 0.82 GB, free: 27.72 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.7016, allocations: 46.86 kB / 0.82 GB, free: 27.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.7018, allocations: 41.62 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.7018, allocations: 12.5 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.7019, allocations: 21.38 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.82e-05/0.702, allocations: 11.81 kB / 0.8201 GB, free: 27.68 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.953e-05/0.702, allocations: 37.52 kB / 0.8201 GB, free: 27.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.7024, allocations: 133.3 kB / 0.8203 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.7024, allocations: 2.031 kB / 0.8203 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of FrontEnd: time 4.528e-06/0.7024, allocations: 0 / 0.8203 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.7024, allocations: 1.297 kB / 0.8203 GB, free: 27.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006233/0.7031, allocations: 322.7 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.7031, allocations: 9.594 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.934e-05/0.7032, allocations: 6.438 kB / 0.8206 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.7033, allocations: 123.7 kB / 0.8207 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.7034, allocations: 8.438 kB / 0.8207 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.7034, allocations: 5.469 kB / 0.8207 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.7035, allocations: 41.59 kB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.7035, allocations: 1.094 kB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.7036, allocations: 5.5 kB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.7036, allocations: 1.031 kB / 0.8208 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.715e-05/0.7036, allocations: 16.52 kB / 0.8208 GB, free: 27.11 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/0.7041, allocations: 260.3 kB / 0.821 GB, free: 26.87 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.7042, allocations: 28.47 kB / 0.8211 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.7042, allocations: 18.09 kB / 0.8211 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.7042, allocations: 0.6562 kB / 0.8211 GB, free: 26.83 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.7045, allocations: 67 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.7045, allocations: 1.094 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4): time 0.0003141/0.7048, allocations: 80.58 kB / 0.8212 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.7048, allocations: 53.47 kB / 0.8213 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.705, allocations: 126.2 kB / 0.8214 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.705, allocations: 33.39 kB / 0.8214 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.7051, allocations: 89.14 kB / 0.8215 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.7051, allocations: 10.27 kB / 0.8215 GB, free: 26.42 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7053, allocations: 30.19 kB / 0.8215 GB, free: 26.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.7054, allocations: 320.5 kB / 0.8219 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.7055, allocations: 67.3 kB / 0.8219 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.7057, allocations: 89.2 kB / 0.822 GB, free: 25.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.7059, allocations: 92.92 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7059, allocations: 0.5 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005642/0.7065, allocations: 204.2 kB / 0.8223 GB, free: 25.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.798e-05/0.7066, allocations: 42.73 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7066, allocations: 1.031 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.7066, allocations: 2.797 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.7067, allocations: 1.562 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.7067, allocations: 2 kB / 0.8223 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.7071, allocations: 25.94 kB / 0.8224 GB, free: 25.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.7071, allocations: 11.05 kB / 0.8224 GB, free: 25.7 MB / 0.6387 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 0.0001489/0.7073, allocations: 125.3 kB / 0.8225 GB, free: 25.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.7073, allocations: 10.8 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.763e-05/0.7073, allocations: 6.203 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.7074, allocations: 1.625 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.7074, allocations: 0.5312 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.7074, allocations: 0.5625 kB / 0.8225 GB, free: 25.57 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7075, allocations: 116.5 kB / 0.8226 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.7075, allocations: 8.375 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.7075, allocations: 2.344 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.7075, allocations: 0.5312 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.7076, allocations: 8.406 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.7076, allocations: 4.469 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7076, allocations: 1.266 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002194/0.7078, allocations: 90.17 kB / 0.8227 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.015e-05/0.7078, allocations: 14.8 kB / 0.8227 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.7078, allocations: 1.703 kB / 0.8227 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.414e-05/0.7079, allocations: 1.016 kB / 0.8227 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.7079, allocations: 6.781 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.7079, allocations: 5.922 kB / 0.8228 GB, free: 25.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 8.874e-05/0.708, allocations: 94.75 kB / 0.8228 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.708, allocations: 0.5 kB / 0.8228 GB, free: 25.25 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004269/0.7084, allocations: 24.72 kB / 0.8229 GB, free: 25.24 MB / 0.6387 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.0002045/0.7086, allocations: 96.61 kB / 0.823 GB, free: 25.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00038/0.709, allocations: 157.5 kB / 0.8231 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.709, allocations: 192 / 0.8231 GB, free: 25.03 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.508e-05/0.7091, allocations: 17.66 kB / 0.8231 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.7095, allocations: 18.56 kB / 0.8231 GB, free: 25.02 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.7099, allocations: 145.5 kB / 0.8233 GB, free: 24.88 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.559e-05/0.71, allocations: 67.95 kB / 0.8234 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.88e-05/0.71, allocations: 5.828 kB / 0.8234 GB, free: 24.81 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.7101, allocations: 9.219 kB / 0.8234 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.7101, allocations: 6.188 kB / 0.8234 GB, free: 24.8 MB / 0.6387 GB Notification: Performance of Templates: time 0.007546/0.7176, allocations: 1.51 MB / 0.8248 GB, free: 24.63 MB / 0.6387 GB " [Timeout remaining time 659] 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: 6.95079199410975] Failed to read output from testmodel.py, exit status != 0: 0.7290678918361664 0.7535004279999999 0.04630969 Calling exit ...