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.0008547/0.0008547, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001249/0.002103, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008879/0.0008879, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001134/0.002022, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.037/1.037, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09192/1.129, allocations: 53.68 MB / 243.4 MB, free: 15.48 MB / 250.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.7715/0.7715, allocations: 154.6 MB / 398.8 MB, free: 380 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3211/1.093, allocations: 49.05 MB / 447.8 MB, free: 6.586 MB / 426.7 MB " [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.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 1.683e-06/1.683e-06, allocations: 0.5469 kB / 449.2 MB, free: 5.219 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.1e-05, allocations: 2.312 kB / 449.2 MB, free: 5.215 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.003777/0.003798, allocations: 0.8313 MB / 450 MB, free: 4.43 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004288/0.008087, allocations: 1.199 MB / 451.2 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.008127, allocations: 4 kB / 451.2 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.008151, allocations: 7.922 kB / 451.2 MB, free: 3.207 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.008203, allocations: 17.95 kB / 451.3 MB, free: 3.195 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.008524, allocations: 132.5 kB / 451.4 MB, free: 3.066 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.008693, allocations: 123.4 kB / 451.5 MB, free: 2.961 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.17e-05/0.008765, allocations: 15.97 kB / 451.5 MB, free: 2.945 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.008889, allocations: 72.25 kB / 451.6 MB, free: 2.879 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.106e-05/0.00898, allocations: 50.55 kB / 451.7 MB, free: 2.832 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.009003, allocations: 9.031 kB / 451.7 MB, free: 2.824 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.446e-05/0.009078, allocations: 24.86 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.009102, allocations: 10.77 kB / 451.7 MB, free: 2.793 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.009142, allocations: 23.94 kB / 451.7 MB, free: 2.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.009291, allocations: 91.67 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.009303, allocations: 1.438 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.009304, allocations: 0 / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.009317, allocations: 0 / 451.8 MB, free: 2.68 MB / 426.7 MB 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.0005142/0.009831, allocations: 328.9 kB / 452.1 MB, free: 2.328 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.009868, allocations: 12.03 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.009915, allocations: 6.219 kB / 452.1 MB, free: 2.312 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.464e-05/0.01001, allocations: 118.9 kB / 452.3 MB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.01002, allocations: 8.312 kB / 452.3 MB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.01004, allocations: 4.375 kB / 452.3 MB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.01018, allocations: 73.02 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.01019, allocations: 192 / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.0102, allocations: 384 / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.0102, allocations: 384 / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.601e-05/0.01023, allocations: 11.94 kB / 452.4 MB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.0105, allocations: 184.8 kB / 452.5 MB, free: 1.875 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.486e-05/0.01054, allocations: 31.16 kB / 452.6 MB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.01056, allocations: 8.859 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.01058, allocations: 1.156 kB / 452.6 MB, free: 1.824 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.973e-05/0.01068, allocations: 67.53 kB / 452.6 MB, free: 1.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.01068, allocations: 1.938 kB / 452.6 MB, free: 1.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.00315/0.01383, allocations: 69.55 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.01386, allocations: 51.41 kB / 452.8 MB, free: 1.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.01394, allocations: 125.7 kB / 452.9 MB, free: 1.477 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.01396, allocations: 29.7 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.014, allocations: 88.84 kB / 453 MB, free: 1.352 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.01402, allocations: 19.84 kB / 453 MB, free: 1.332 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.01407, allocations: 30.61 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.01415, allocations: 318.8 kB / 453.4 MB, free: 0.9766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.706e-05/0.01421, allocations: 53.69 kB / 453.4 MB, free: 0.918 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.01428, allocations: 72.91 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.631e-05/0.01437, allocations: 93.48 kB / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01437, allocations: 0 / 453.6 MB, free: 0.7266 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001591/0.01453, allocations: 153.5 kB / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.333e-05/0.01456, allocations: 34.77 kB / 453.8 MB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.01456, allocations: 3.938 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.01458, allocations: 2.531 kB / 453.8 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.01465, allocations: 19.98 kB / 453.8 MB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.01466, allocations: 3.938 kB / 453.8 MB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.01476, allocations: 28.22 kB / 453.8 MB, free: 476 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.01477, allocations: 4 kB / 453.8 MB, free: 472 kB / 426.7 MB 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 6.295e-05/0.01484, allocations: 118.9 kB / 453.9 MB, free: 344 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.598e-06/0.01485, allocations: 4 kB / 453.9 MB, free: 340 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.01487, allocations: 21.09 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/0.01487, allocations: 0.5156 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01488, allocations: 0.9062 kB / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.01488, allocations: 0 / 454 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.841e-05/0.01496, allocations: 81.86 kB / 454 MB, free: 220 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01496, allocations: 4.609 kB / 454.1 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.015, allocations: 8.625 kB / 454.1 MB, free: 208 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-06/0.01501, allocations: 9.734 kB / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01501, allocations: 4.562 kB / 454.1 MB, free: 196 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.01502, allocations: 4.609 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01502, allocations: 7.938 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01502, allocations: 0.625 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.38e-05/0.0151, allocations: 81.06 kB / 454.2 MB, free: 84 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.01511, allocations: 4.609 kB / 454.2 MB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.73e-05/0.01514, allocations: 4.594 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.01518, allocations: 15.92 kB / 454.2 MB, free: 60 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.01518, allocations: 0.8125 kB / 454.2 MB, free: 60 kB / 426.7 MB Notification: Performance of sorting global known variables: time 2.075e-05/0.0152, allocations: 16.84 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0152, allocations: 1.781 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.01536, allocations: 24 kB / 454.2 MB, free: 16 kB / 426.7 MB 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.0001313/0.01549, allocations: 88.33 kB / 454.3 MB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.01566, allocations: 142.5 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.01566, allocations: 5 kB / 454.5 MB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.0157, allocations: 28.78 kB / 454.5 MB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.01585, allocations: 125.1 kB / 454.6 MB, free: 15.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.01633, allocations: 161.3 kB / 454.8 MB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.01637, allocations: 59.34 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.823e-05/0.0164, allocations: 6.875 kB / 454.8 MB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.0165, allocations: 68.23 kB / 454.9 MB, free: 15.25 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0165, allocations: 0 / 454.9 MB, free: 15.25 MB / 442.7 MB Notification: Performance of Templates: time 0.003648/0.02014, allocations: 1.767 MB / 456.7 MB, free: 13.61 MB / 442.7 MB " [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: 3.6162111712619662]