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.002506/0.002506, allocations: 88.16 kB / 19.44 MB, free: 192 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.003123/0.003123, allocations: 165.3 kB / 22.76 MB, free: 1.523 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-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 1.348/1.348, allocations: 154.8 MB / 414.4 MB, free: 460 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 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.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.615e-06/2.615e-06, allocations: 0 / 0.5199 GB, free: 2.277 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.357e-05, allocations: 4.422 kB / 0.5199 GB, free: 2.273 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.0022/0.002234, allocations: 0.6811 MB / 0.5205 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.004106, allocations: 1.293 MB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.454e-05/0.004151, allocations: 1.625 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.723e-05/0.004178, allocations: 3.938 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.004279, allocations: 27.78 kB / 0.5218 GB, free: 288 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.005096, allocations: 297.3 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.005467, allocations: 260.3 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.946e-05/0.005566, allocations: 9.656 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.005785, allocations: 135.8 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.005968, allocations: 79.86 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.006028, allocations: 23.98 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.006131, allocations: 41.27 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.00616, allocations: 11.94 kB / 0.5227 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.006283, allocations: 75.86 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003676/0.00665, allocations: 270.8 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.006654, allocations: 0 / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006655, allocations: 0 / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.00666, allocations: 0 / 0.523 GB, free: 15.11 MB / 0.4948 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.0006991/0.007359, allocations: 0.5128 MB / 0.5235 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.007398, allocations: 8.031 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.007486, allocations: 24.81 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.007617, allocations: 116.5 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.046e-05/0.007648, allocations: 16.38 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.007688, allocations: 12.38 kB / 0.5237 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.007815, allocations: 58.8 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.007823, allocations: 0.75 kB / 0.5237 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.007837, allocations: 4.359 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.007845, allocations: 5.094 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.007895, allocations: 16 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006098/0.008505, allocations: 385 kB / 0.5241 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.773e-05/0.008593, allocations: 43.05 kB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.008635, allocations: 19.69 kB / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.008646, allocations: 0 / 0.5242 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.008829, allocations: 113.7 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.00883, allocations: 0.9062 kB / 0.5243 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.00036/0.00919, allocations: 153.5 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.009242, allocations: 51.41 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.009432, allocations: 209.5 kB / 0.5247 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.009483, allocations: 37.7 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.009596, allocations: 142.9 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.00963, allocations: 27.86 kB / 0.5249 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.009773, allocations: 79.98 kB / 0.5249 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002578/0.01003, allocations: 0.4884 MB / 0.5254 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000303/0.01033, allocations: 206.2 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.01069, allocations: 280.3 kB / 0.5259 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.01103, allocations: 273.6 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01104, allocations: 0 / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007886/0.01182, allocations: 0.5112 MB / 0.5266 GB, free: 11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.4e-05/0.01192, allocations: 111.8 kB / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01192, allocations: 0 / 0.5268 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.01194, allocations: 4 kB / 0.5268 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.01196, allocations: 0 / 0.5268 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.01197, allocations: 4 kB / 0.5268 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003795/0.01235, allocations: 61.23 kB / 0.5268 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.01239, allocations: 19.98 kB / 0.5268 GB, free: 10.79 MB / 0.4948 GB 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 0.0001578/0.01255, allocations: 184.8 kB / 0.527 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.01258, allocations: 20.81 kB / 0.527 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.01261, allocations: 8.438 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01261, allocations: 0 / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01262, allocations: 4.656 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.01262, allocations: 3.984 kB / 0.527 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.01278, allocations: 149.5 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01278, allocations: 0 / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-06/0.01279, allocations: 2.562 kB / 0.5272 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.0128, allocations: 7.938 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.01281, allocations: 0 / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.01281, allocations: 4 kB / 0.5272 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.01282, allocations: 7.922 kB / 0.5272 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000501/0.01332, allocations: 152.4 kB / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.01334, allocations: 7.953 kB / 0.5274 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.01336, allocations: 14.98 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/0.01338, allocations: 4 kB / 0.5274 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.01343, allocations: 11.98 kB / 0.5274 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.01343, allocations: 0 / 0.5274 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001056/0.01354, allocations: 148.9 kB / 0.5275 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01354, allocations: 0 / 0.5275 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002507/0.01379, allocations: 36 kB / 0.5276 GB, free: 9.98 MB / 0.4948 GB 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.0001846/0.01397, allocations: 108.9 kB / 0.5277 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006362/0.01461, allocations: 490.8 kB / 0.5281 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01461, allocations: 0.875 kB / 0.5281 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.01469, allocations: 43.66 kB / 0.5282 GB, free: 9.281 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.01498, allocations: 36.77 kB / 0.5282 GB, free: 9.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.01539, allocations: 198.7 kB / 0.5284 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.638e-05/0.01547, allocations: 88.52 kB / 0.5285 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.0155, allocations: 5.031 kB / 0.5285 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.112e-05/0.01553, allocations: 17.98 kB / 0.5285 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of SimCode: time 6.82e-07/0.01553, allocations: 0 / 0.5285 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of Templates: time 0.00654/0.02207, allocations: 2.906 MB / 0.5314 GB, free: 6.148 MB / 0.4948 GB " [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: 6.160901486990042]