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.001508/0.001508, allocations: 88.72 kB / 19.44 MB, free: 356 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.001673/0.001673, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.478/1.478, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.24/1.24, allocations: 154.8 MB / 414.3 MB, free: 472 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.445e-06/2.445e-06, allocations: 0 / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.603e-05, allocations: 4.703 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001985/0.002021, allocations: 0.6695 MB / 0.5205 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00209/0.00411, allocations: 1.297 MB / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.004167, allocations: 0 / 0.5218 GB, free: 364 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.0042, allocations: 3.938 kB / 0.5218 GB, free: 360 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001015/0.004302, allocations: 17.73 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008378/0.00514, allocations: 296.3 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.005509, allocations: 257.1 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005629, allocations: 20.16 kB / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.005856, allocations: 135.8 kB / 0.5225 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.006054, allocations: 80.7 kB / 0.5226 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.066e-05/0.006105, allocations: 24 kB / 0.5226 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.006197, allocations: 32.56 kB / 0.5226 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.592e-05/0.006233, allocations: 19.91 kB / 0.5226 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.006352, allocations: 73.09 kB / 0.5227 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.006735, allocations: 267.3 kB / 0.523 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.00674, allocations: 0 / 0.523 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.006742, allocations: 0.7188 kB / 0.523 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.006749, allocations: 0 / 0.523 GB, free: 15.16 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.0006914/0.007441, allocations: 416.7 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.007485, allocations: 8.031 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.007586, allocations: 24.89 kB / 0.5234 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.007726, allocations: 121.6 kB / 0.5235 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.007766, allocations: 17.91 kB / 0.5235 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.74e-05/0.007813, allocations: 16.38 kB / 0.5235 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.007958, allocations: 54.22 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.007976, allocations: 192 / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.007991, allocations: 5.125 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.007999, allocations: 12.06 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.132e-05/0.00806, allocations: 17.14 kB / 0.5236 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.008676, allocations: 320.3 kB / 0.5239 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.008759, allocations: 26.58 kB / 0.524 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.008804, allocations: 18.12 kB / 0.524 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.00882, allocations: 4 kB / 0.524 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.009105, allocations: 107.2 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.009106, allocations: 2.344 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.000386/0.009492, allocations: 149.5 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.009543, allocations: 51.41 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.009687, allocations: 139.5 kB / 0.5244 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.009735, allocations: 33.7 kB / 0.5244 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.009841, allocations: 104.2 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.009879, allocations: 25.45 kB / 0.5246 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.01003, allocations: 69.67 kB / 0.5246 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.01021, allocations: 318.8 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.01049, allocations: 177 kB / 0.5251 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.01083, allocations: 229 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.01135, allocations: 237 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01135, allocations: 0.7188 kB / 0.5255 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007957/0.01215, allocations: 495.5 kB / 0.526 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.01225, allocations: 102.7 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.01226, allocations: 0 / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.01228, allocations: 7.938 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-05/0.01231, allocations: 4 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.01232, allocations: 5.047 kB / 0.5261 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.01282, allocations: 81.83 kB / 0.5262 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.01286, allocations: 19.98 kB / 0.5262 GB, free: 11.49 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.0001545/0.01302, allocations: 140.5 kB / 0.5264 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.01304, allocations: 11.89 kB / 0.5264 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.01309, allocations: 16.42 kB / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.01309, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.01309, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.0131, allocations: 0 / 0.5264 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.01325, allocations: 129.2 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.01326, allocations: 4 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.438e-05/0.01327, allocations: 14.97 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.01328, allocations: 3.938 kB / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.01328, allocations: 0 / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01329, allocations: 0 / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01329, allocations: 0 / 0.5265 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.01352, allocations: 149 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.01353, allocations: 3.953 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.01355, allocations: 7.938 kB / 0.5267 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.531e-05/0.01357, allocations: 5.484 kB / 0.5267 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.01363, allocations: 11.98 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01364, allocations: 4 kB / 0.5267 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.01373, allocations: 97.09 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01373, allocations: 3.156 kB / 0.5268 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000273/0.014, allocations: 40 kB / 0.5268 GB, free: 10.82 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.0001932/0.0142, allocations: 111.2 kB / 0.5269 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005883/0.01478, allocations: 407.2 kB / 0.5273 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01479, allocations: 2.438 kB / 0.5273 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.247e-05/0.01486, allocations: 35.92 kB / 0.5274 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.01512, allocations: 30.33 kB / 0.5274 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.01557, allocations: 198.3 kB / 0.5276 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.01568, allocations: 84.08 kB / 0.5277 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.01571, allocations: 9.641 kB / 0.5277 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.76e-05/0.01575, allocations: 16.5 kB / 0.5277 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01575, allocations: 0 / 0.5277 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of Templates: time 0.007054/0.02281, allocations: 2.912 MB / 0.5305 GB, free: 7.082 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.867737382999621]