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.00197/0.00197, allocations: 92.7 kB / 19.44 MB, free: 324 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.002529/0.002529, allocations: 161.3 kB / 22.75 MB, free: 1.656 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 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.215/1.215, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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.374e-06/2.374e-06, allocations: 0 / 0.5197 GB, free: 2.473 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.537e-05/3.774e-05, allocations: 6.25 kB / 0.5197 GB, free: 2.469 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002468/0.002505, allocations: 0.7604 MB / 0.5204 GB, free: 1.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.004594, allocations: 1.18 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.004656, allocations: 0 / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.933e-05/0.004695, allocations: 3.938 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.998e-05/0.004795, allocations: 16.75 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005846/0.00538, allocations: 133 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.005627, allocations: 131.7 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.005721, allocations: 11.98 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.005897, allocations: 81.02 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.006008, allocations: 39.88 kB / 0.522 GB, free: 136 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.006042, allocations: 12 kB / 0.522 GB, free: 124 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.006114, allocations: 16.69 kB / 0.522 GB, free: 108 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.387e-05/0.006148, allocations: 19.97 kB / 0.522 GB, free: 88 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.574e-05/0.006224, allocations: 37.19 kB / 0.5221 GB, free: 52 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.006514, allocations: 143.7 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.006518, allocations: 4 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.052e-06/0.006519, allocations: 1.344 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.006524, allocations: 0 / 0.5222 GB, free: 15.9 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.0007736/0.007298, allocations: 344.5 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.007336, allocations: 8.031 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.925e-05/0.007416, allocations: 18.73 kB / 0.5226 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.007542, allocations: 113.7 kB / 0.5227 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.007561, allocations: 4.375 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.00759, allocations: 8.312 kB / 0.5227 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.007873, allocations: 80.11 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007881, allocations: 4.188 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.007892, allocations: 384 / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.007896, allocations: 384 / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.008243, allocations: 77.31 kB / 0.5228 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.00872, allocations: 253.5 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.008934, allocations: 55.45 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.009108, allocations: 46.22 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.009132, allocations: 0 / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.009485, allocations: 104.3 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 3.356e-06/0.009488, allocations: 3.984 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006859/0.01017, allocations: 163.8 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.01023, allocations: 57.19 kB / 0.5235 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.01036, allocations: 128.9 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.0104, allocations: 29.7 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.01048, allocations: 92.08 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.01051, allocations: 17.7 kB / 0.5237 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.01059, allocations: 33.7 kB / 0.5238 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.01077, allocations: 314.8 kB / 0.5241 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.01103, allocations: 93.64 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.01131, allocations: 110.1 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004177/0.01173, allocations: 154.1 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.01174, allocations: 11.03 kB / 0.5244 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006564/0.01239, allocations: 248.8 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.455e-05/0.01244, allocations: 33.7 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.01244, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.01246, allocations: 6.75 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.0126, allocations: 19.97 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.01261, allocations: 3.938 kB / 0.5247 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.01286, allocations: 43.91 kB / 0.5248 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.01288, allocations: 4.5 kB / 0.5248 GB, free: 13.06 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.0001173/0.013, allocations: 119.4 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.01303, allocations: 7.938 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.01306, allocations: 12.44 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01306, allocations: 0 / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01307, allocations: 1.281 kB / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.01307, allocations: 0 / 0.5249 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.01322, allocations: 133.2 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.01322, allocations: 0.6562 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01333, allocations: 16.83 kB / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01333, allocations: 0 / 0.5251 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01335, allocations: 3.938 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.01335, allocations: 4.5 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01335, allocations: 1.844 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.01379, allocations: 151.4 kB / 0.5252 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.01381, allocations: 11.94 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01383, allocations: 3.938 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.014e-05/0.01392, allocations: 11.98 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.966e-05/0.01399, allocations: 11.98 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.832e-06/0.014, allocations: 0 / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.929e-05/0.01408, allocations: 97.67 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01408, allocations: 0 / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002357/0.01431, allocations: 24 kB / 0.5254 GB, free: 12.41 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.0001776/0.01449, allocations: 95.38 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007979/0.01529, allocations: 215.5 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01529, allocations: 0 / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.01547, allocations: 40.56 kB / 0.5257 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.01572, allocations: 20.64 kB / 0.5257 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.01617, allocations: 165.5 kB / 0.5259 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.01627, allocations: 72.27 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.01631, allocations: 4.906 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.01635, allocations: 19.02 kB / 0.526 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.01636, allocations: 0 / 0.526 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of Templates: time 0.005384/0.02174, allocations: 1.714 MB / 0.5276 GB, free: 10.11 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.82514120999258]