Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002456/0.002456, allocations: 85.48 kB / 19.44 MB, free: 344 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.003017/0.003017, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.628/1.628, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.416/1.416, allocations: 154.6 MB / 414.2 MB, free: 0.6445 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 178] 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0.5469 kB / 0.5197 GB, free: 2.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.854e-05/3.067e-05, allocations: 4.422 kB / 0.5197 GB, free: 2.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.00207/0.002101, allocations: 0.7616 MB / 0.5204 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.00395, allocations: 1.178 MB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.004014, allocations: 4.969 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.004043, allocations: 3.938 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.788e-05/0.00414, allocations: 20.34 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005153/0.004656, allocations: 134.4 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002365/0.004892, allocations: 127.7 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.00499, allocations: 19.95 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.005145, allocations: 63.95 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.005258, allocations: 51.8 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.005295, allocations: 13.16 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.433e-05/0.005369, allocations: 19.98 kB / 0.522 GB, free: 104 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.793e-05/0.005397, allocations: 11.94 kB / 0.522 GB, free: 92 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.005486, allocations: 41.42 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.00576, allocations: 139.6 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005763, allocations: 0 / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005764, allocations: 0 / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.005769, allocations: 0.8125 kB / 0.5222 GB, free: 15.91 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.0007184/0.006487, allocations: 446.6 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.006526, allocations: 8.031 kB / 0.5226 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.006607, allocations: 16.89 kB / 0.5227 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.006739, allocations: 116.5 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.006758, allocations: 4.375 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.006781, allocations: 4.375 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.006998, allocations: 75.16 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.007007, allocations: 192 / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.007017, allocations: 1.406 kB / 0.5229 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.007021, allocations: 4.312 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001973/0.007218, allocations: 56.83 kB / 0.5229 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.007751, allocations: 316.2 kB / 0.5232 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.007915, allocations: 55.59 kB / 0.5233 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.008026, allocations: 33.08 kB / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.008051, allocations: 0 / 0.5233 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.008275, allocations: 105 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.008276, allocations: 1.812 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000721/0.008997, allocations: 129.5 kB / 0.5235 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.009053, allocations: 61.16 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.009214, allocations: 185.9 kB / 0.5238 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.009249, allocations: 29.7 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.009355, allocations: 138.9 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.00938, allocations: 11.91 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.009469, allocations: 44.09 kB / 0.524 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000256/0.009725, allocations: 0.4884 MB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.00993, allocations: 91.06 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.01014, allocations: 112.7 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.01044, allocations: 138.8 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.01044, allocations: 0 / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005296/0.01097, allocations: 252.1 kB / 0.525 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.697e-05/0.01102, allocations: 37.69 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01103, allocations: 0 / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.01104, allocations: 4 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.01116, allocations: 11.98 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.01116, allocations: 0 / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.01135, allocations: 26.97 kB / 0.5251 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.01138, allocations: 15.98 kB / 0.5251 GB, free: 12.69 MB / 0.4948 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.0001406/0.01152, allocations: 168.5 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.01154, allocations: 7.938 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.01158, allocations: 20.41 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01158, allocations: 0 / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.01159, allocations: 0 / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01159, allocations: 1.5 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01174, allocations: 136.6 kB / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.01175, allocations: 0 / 0.5254 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.01182, allocations: 17.33 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.175e-06/0.01183, allocations: 0 / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01184, allocations: 7.938 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01184, allocations: 0 / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01184, allocations: 1.281 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003413/0.01219, allocations: 140.7 kB / 0.5256 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.04e-05/0.01221, allocations: 12.59 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01223, allocations: 7.938 kB / 0.5256 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.649e-05/0.01228, allocations: 4.625 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.01233, allocations: 8.484 kB / 0.5256 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.01234, allocations: 4 kB / 0.5256 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.944e-05/0.01244, allocations: 141.8 kB / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.01244, allocations: 0 / 0.5258 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002213/0.01267, allocations: 24 kB / 0.5258 GB, free: 11.94 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: 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.0001874/0.01285, allocations: 103.2 kB / 0.5259 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004801/0.01333, allocations: 215.1 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01334, allocations: 4 kB / 0.5261 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.01348, allocations: 39.67 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/0.01371, allocations: 21.64 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004698/0.01418, allocations: 169.9 kB / 0.5263 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.163e-05/0.01427, allocations: 76.52 kB / 0.5264 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01431, allocations: 4.594 kB / 0.5264 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.565e-05/0.01435, allocations: 16.5 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01435, allocations: 1.219 kB / 0.5264 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.005598/0.01995, allocations: 1.712 MB / 0.5281 GB, free: 9.617 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.239489339059219]