Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001136/0.001136, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001633/0.001633, allocations: 173 kB / 23.49 MB, free: 1.055 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 0.9826/0.9826, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.8071/0.8071, allocations: 154.6 MB / 414.9 MB, free: 0.6328 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 0 / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.284e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001993/0.002026, allocations: 0.6876 MB / 0.521 GB, free: 1.82 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.003758, allocations: 1.313 MB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.003811, allocations: 0 / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.003839, allocations: 5.688 kB / 0.5223 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.484e-05/0.003913, allocations: 19.84 kB / 0.5223 GB, free: 484 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.00449, allocations: 313.2 kB / 0.5226 GB, free: 172 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.004775, allocations: 251.6 kB / 0.5229 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.004923, allocations: 17.03 kB / 0.5229 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002237/0.005147, allocations: 139.8 kB / 0.523 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001684/0.005315, allocations: 76.44 kB / 0.5231 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.005358, allocations: 24 kB / 0.5231 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.005443, allocations: 37.09 kB / 0.5231 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.00547, allocations: 15.92 kB / 0.5232 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.955e-05/0.005549, allocations: 71.94 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.005767, allocations: 200.2 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.005771, allocations: 0 / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.005772, allocations: 1.625 kB / 0.5234 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.005777, allocations: 0 / 0.5234 GB, free: 15.35 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.0004693/0.006246, allocations: 0.5092 MB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.006283, allocations: 8.031 kB / 0.5239 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.895e-05/0.006352, allocations: 26.47 kB / 0.5239 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.006441, allocations: 116.5 kB / 0.5241 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.006463, allocations: 4.375 kB / 0.5241 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.006489, allocations: 24.31 kB / 0.5241 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.006589, allocations: 63.69 kB / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.006595, allocations: 192 / 0.5241 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.006607, allocations: 5.547 kB / 0.5242 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.006616, allocations: 4.125 kB / 0.5242 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.006644, allocations: 11.94 kB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.007048, allocations: 372.8 kB / 0.5245 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.415e-05/0.007102, allocations: 39.05 kB / 0.5246 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.007125, allocations: 11.69 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.007138, allocations: 10.25 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.007258, allocations: 101 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.007259, allocations: 0 / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10): time 0.0002451/0.007504, allocations: 129.5 kB / 0.5248 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.007549, allocations: 59.39 kB / 0.5249 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.007662, allocations: 195.9 kB / 0.525 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.007691, allocations: 35.39 kB / 0.5251 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.007763, allocations: 142.8 kB / 0.5252 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.007783, allocations: 19.89 kB / 0.5252 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.993e-05/0.007873, allocations: 79.27 kB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.008015, allocations: 0.4889 MB / 0.5258 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001709/0.008186, allocations: 161 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.008363, allocations: 238.8 kB / 0.5262 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.008561, allocations: 240.7 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.008565, allocations: 5.031 kB / 0.5264 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004183/0.008983, allocations: 466.8 kB / 0.5268 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.634e-05/0.009039, allocations: 105.1 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.009045, allocations: 0 / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.00906, allocations: 4 kB / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.009093, allocations: 0 / 0.527 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.009101, allocations: 7.938 kB / 0.527 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.009322, allocations: 62.91 kB / 0.527 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.009349, allocations: 19.98 kB / 0.527 GB, free: 11.27 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 8.891e-05/0.009438, allocations: 172 kB / 0.5272 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.731e-05/0.009455, allocations: 19.88 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.00948, allocations: 8.438 kB / 0.5272 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.009483, allocations: 5.484 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.009487, allocations: 3.938 kB / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.00949, allocations: 0 / 0.5272 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.009589, allocations: 148.5 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.00959, allocations: 3.094 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.009598, allocations: 3.938 kB / 0.5274 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.009602, allocations: 7.938 kB / 0.5274 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.009612, allocations: 3.984 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009613, allocations: 80 / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.009615, allocations: 3.984 kB / 0.5274 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001398/0.009755, allocations: 144.3 kB / 0.5275 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.009764, allocations: 3.953 kB / 0.5275 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.00978, allocations: 14.36 kB / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.566e-05/0.009795, allocations: 0 / 0.5276 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.009831, allocations: 11.98 kB / 0.5276 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.009838, allocations: 4 kB / 0.5276 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.013e-05/0.009888, allocations: 137.7 kB / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009888, allocations: 0 / 0.5277 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001967/0.01009, allocations: 47.98 kB / 0.5277 GB, free: 10.48 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.0001483/0.01023, allocations: 100.4 kB / 0.5278 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.01058, allocations: 415.7 kB / 0.5282 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01058, allocations: 1.156 kB / 0.5282 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.01062, allocations: 39.59 kB / 0.5283 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.01084, allocations: 23.7 kB / 0.5283 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.01118, allocations: 196.4 kB / 0.5285 GB, free: 9.633 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.01122, allocations: 63.34 kB / 0.5285 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.843e-05/0.01125, allocations: 4.5 kB / 0.5286 GB, free: 9.547 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.223e-05/0.01127, allocations: 16.5 kB / 0.5286 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/0.01127, allocations: 0 / 0.5286 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of Templates: time 0.004415/0.01568, allocations: 2.907 MB / 0.5314 GB, free: 6.789 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.941169857978821]