Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.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.0015/0.0015, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001304/0.001304, allocations: 177 kB / 23.35 MB, free: 1.137 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 1.039/1.039, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-535:34: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-535:42: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.8082/0.8082, allocations: 154.9 MB / 415.1 MB, free: 240 kB / 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0.7656 kB / 480.4 MB, free: 6.594 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.592e-05, allocations: 7.781 kB / 480.4 MB, free: 6.59 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001292/0.001318, allocations: 0.6833 MB / 481.1 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001411/0.002729, allocations: 1.323 MB / 482.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.002774, allocations: 0.7188 kB / 482.4 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002801, allocations: 7.922 kB / 482.4 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.002883, allocations: 23.58 kB / 482.4 MB, free: 4.586 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.003458, allocations: 299.2 kB / 482.7 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.003684, allocations: 260.3 kB / 483 MB, free: 4.059 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.895e-05/0.003763, allocations: 12.16 kB / 483 MB, free: 4.043 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.003897, allocations: 140.4 kB / 483.1 MB, free: 3.906 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.004012, allocations: 80.38 kB / 483.2 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.004044, allocations: 20 kB / 483.2 MB, free: 3.809 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.402e-05/0.004108, allocations: 40.98 kB / 483.2 MB, free: 3.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.004132, allocations: 19.91 kB / 483.3 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.436e-05/0.004196, allocations: 67.94 kB / 483.3 MB, free: 3.684 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.004383, allocations: 200.5 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.004386, allocations: 0 / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.004387, allocations: 0 / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.00439, allocations: 0.625 kB / 483.5 MB, free: 3.488 MB / 442.7 MB 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.0003844/0.004775, allocations: 389.4 kB / 483.9 MB, free: 3.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.004812, allocations: 8.031 kB / 483.9 MB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.004858, allocations: 22.34 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.004948, allocations: 121.7 kB / 484.1 MB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.004969, allocations: 8.375 kB / 484.1 MB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.004996, allocations: 16.31 kB / 484.1 MB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.075e-05/0.005077, allocations: 67.7 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.005083, allocations: 192 / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.005089, allocations: 1.812 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005095, allocations: 4.688 kB / 484.1 MB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.314e-05/0.005119, allocations: 15.92 kB / 484.2 MB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.005395, allocations: 209 kB / 484.4 MB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.915e-05/0.005434, allocations: 19.52 kB / 484.4 MB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.005448, allocations: 13.77 kB / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.421e-06/0.005454, allocations: 96 / 484.4 MB, free: 2.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.005556, allocations: 99.92 kB / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.005557, allocations: 0 / 484.5 MB, free: 2.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001421/0.005699, allocations: 90.16 kB / 484.6 MB, free: 2.316 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.005735, allocations: 59.39 kB / 484.6 MB, free: 2.246 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.405e-05/0.005809, allocations: 143.2 kB / 484.8 MB, free: 2.098 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.005832, allocations: 33.7 kB / 484.8 MB, free: 2.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.005872, allocations: 92.14 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.576e-05/0.005887, allocations: 23.78 kB / 484.9 MB, free: 1.941 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.00596, allocations: 71.38 kB / 485 MB, free: 1.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.006034, allocations: 318.8 kB / 485.3 MB, free: 1.547 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.006142, allocations: 145.1 kB / 485.5 MB, free: 1.387 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.006252, allocations: 195 kB / 485.6 MB, free: 1.156 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.006384, allocations: 204.8 kB / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006386, allocations: 4.812 kB / 485.8 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002575/0.006644, allocations: 368.8 kB / 486.2 MB, free: 0.5117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.006697, allocations: 101.6 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.006704, allocations: 4 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.006717, allocations: 0.625 kB / 486.3 MB, free: 400 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.83e-05/0.006735, allocations: 8 kB / 486.3 MB, free: 392 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.006739, allocations: 4.625 kB / 486.3 MB, free: 388 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.006925, allocations: 57.45 kB / 486.4 MB, free: 332 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.00695, allocations: 22.09 kB / 486.4 MB, free: 312 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.479e-05/0.007025, allocations: 125.8 kB / 486.5 MB, free: 176 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.007039, allocations: 11.98 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.00706, allocations: 13.28 kB / 486.6 MB, free: 152 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.007063, allocations: 7.938 kB / 486.6 MB, free: 144 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.007065, allocations: 1 kB / 486.6 MB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.00707, allocations: 4.828 kB / 486.6 MB, free: 140 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.127e-05/0.007141, allocations: 77.88 kB / 486.6 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007143, allocations: 0.625 kB / 486.6 MB, free: 44 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-06/0.00715, allocations: 5.312 kB / 486.6 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007152, allocations: 0 / 486.6 MB, free: 40 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.007157, allocations: 4 kB / 486.7 MB, free: 36 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.007158, allocations: 3.938 kB / 486.7 MB, free: 32 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.00716, allocations: 4.594 kB / 486.7 MB, free: 28 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.007262, allocations: 93.08 kB / 486.7 MB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.007269, allocations: 9.172 kB / 486.8 MB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007282, allocations: 8 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.007296, allocations: 3.984 kB / 486.8 MB, free: 15.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.5e-05/0.007321, allocations: 20.17 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.007325, allocations: 4 kB / 486.8 MB, free: 15.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.087e-05/0.007346, allocations: 24.83 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007346, allocations: 0 / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.007488, allocations: 40.75 kB / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001119/0.0076, allocations: 93.34 kB / 486.9 MB, free: 15.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.007846, allocations: 380 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.007848, allocations: 0.7188 kB / 487.3 MB, free: 15.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 2.968e-05/0.007878, allocations: 32.83 kB / 487.4 MB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.008036, allocations: 30.59 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.008347, allocations: 174.4 kB / 487.6 MB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.418e-05/0.008381, allocations: 63.34 kB / 487.6 MB, free: 14.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.415e-05/0.008405, allocations: 9.922 kB / 487.6 MB, free: 14.93 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.008534, allocations: 95.33 kB / 487.7 MB, free: 14.84 MB / 458.7 MB Notification: Performance of SimCode: time 8.01e-07/0.008535, allocations: 0 / 487.7 MB, free: 14.84 MB / 458.7 MB Notification: Performance of Templates: time 0.004149/0.01268, allocations: 3.15 MB / 490.9 MB, free: 11.91 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8242817451246083]