Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.001432/0.001432, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001757/0.001757, allocations: 169.9 kB / 22.46 MB, free: 5.359 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.527/1.527, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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 1.235/1.235, allocations: 154.6 MB / 413.7 MB, free: 5.305 MB / 382.1 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 178] 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.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0.6186 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.889e-05/3.136e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002152/0.002183, allocations: 0.7583 MB / 0.6193 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.004137, allocations: 1.18 MB / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.004211, allocations: 0 / 0.6205 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.004245, allocations: 3.938 kB / 0.6205 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.004349, allocations: 24.44 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.004969, allocations: 137.8 kB / 0.6206 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.00528, allocations: 123.8 kB / 0.6207 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005395, allocations: 19.97 kB / 0.6208 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.005577, allocations: 67.89 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.005695, allocations: 47.86 kB / 0.6209 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.005734, allocations: 12.56 kB / 0.6209 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.16e-05/0.005825, allocations: 27.98 kB / 0.6209 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.005855, allocations: 8 kB / 0.6209 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.005931, allocations: 39.89 kB / 0.621 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.006207, allocations: 135.6 kB / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.00621, allocations: 0 / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006211, allocations: 0 / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.006219, allocations: 0 / 0.6211 GB, free: 2.035 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000807/0.007026, allocations: 351.7 kB / 0.6214 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.007075, allocations: 13.47 kB / 0.6214 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.007141, allocations: 12.89 kB / 0.6215 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.007296, allocations: 125.6 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.007312, allocations: 4.375 kB / 0.6216 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.007341, allocations: 4.375 kB / 0.6216 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.007662, allocations: 86.19 kB / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.007672, allocations: 192 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.007684, allocations: 384 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.007689, allocations: 384 / 0.6217 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.008014, allocations: 79.8 kB / 0.6217 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.00855, allocations: 252.5 kB / 0.622 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.008765, allocations: 50.53 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.008936, allocations: 40.92 kB / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.008958, allocations: 0 / 0.6221 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003413/0.009299, allocations: 107.2 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.009301, allocations: 0 / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.0007187/0.01002, allocations: 157.5 kB / 0.6223 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.01007, allocations: 55.41 kB / 0.6224 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.01021, allocations: 137.3 kB / 0.6225 GB, free: 448 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.01024, allocations: 25.7 kB / 0.6225 GB, free: 416 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.01033, allocations: 100.1 kB / 0.6226 GB, free: 312 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01036, allocations: 15.91 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-05/0.01045, allocations: 29.7 kB / 0.6227 GB, free: 260 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01064, allocations: 322.8 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.01089, allocations: 89.59 kB / 0.6231 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.01117, allocations: 120.2 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.01158, allocations: 140.2 kB / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01158, allocations: 0 / 0.6233 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006188/0.0122, allocations: 248.8 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.01225, allocations: 41.69 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.01226, allocations: 0 / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.01228, allocations: 0 / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.01243, allocations: 19.92 kB / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01244, allocations: 0 / 0.6236 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.01269, allocations: 40.02 kB / 0.6236 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.01271, allocations: 11.98 kB / 0.6237 GB, free: 15.17 MB / 0.545 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,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001246/0.01284, allocations: 118.8 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.01286, allocations: 15.88 kB / 0.6238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.0129, allocations: 4.438 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0129, allocations: 0 / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.0129, allocations: 4.312 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.01291, allocations: 0 / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.01306, allocations: 137.2 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01306, allocations: 0 / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.01317, allocations: 15.98 kB / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01317, allocations: 0 / 0.6239 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01319, allocations: 11.92 kB / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.624e-06/0.01319, allocations: 96 / 0.6239 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01319, allocations: 3.938 kB / 0.624 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.01364, allocations: 148.9 kB / 0.6241 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.325e-05/0.01367, allocations: 7.953 kB / 0.6241 GB, free: 14.65 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.01369, allocations: 7.938 kB / 0.6241 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.01378, allocations: 15.98 kB / 0.6241 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.01384, allocations: 7.984 kB / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.01384, allocations: 0 / 0.6241 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.749e-05/0.01392, allocations: 99.27 kB / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01392, allocations: 0 / 0.6242 GB, free: 14.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002328/0.01415, allocations: 20 kB / 0.6242 GB, free: 14.5 MB / 0.545 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,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.000283/0.01444, allocations: 99.23 kB / 0.6243 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.01499, allocations: 212.9 kB / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01499, allocations: 0 / 0.6245 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.01517, allocations: 43.95 kB / 0.6246 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.0154, allocations: 12.12 kB / 0.6246 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004067/0.0158, allocations: 168.5 kB / 0.6248 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.01587, allocations: 75.33 kB / 0.6248 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.01591, allocations: 3.984 kB / 0.6248 GB, free: 13.83 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.01594, allocations: 12.5 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.01594, allocations: 0 / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of Templates: time 0.004985/0.02092, allocations: 1.712 MB / 0.6265 GB, free: 12.16 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.903059970587492] Failed to read output from testmodel.py, exit status != 0: 0.02983395755290985 0.045236347 0.035675414 Calling exit ...