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.0009719/0.0009719, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001016/0.001016, allocations: 181 kB / 23.36 MB, free: 1.133 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.018/1.018, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.8201/0.8201, allocations: 154.6 MB / 414.8 MB, free: 484 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. " [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.994e-06/1.994e-06, allocations: 0 / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/2.034e-05, allocations: 2.312 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001418/0.001438, allocations: 0.8225 MB / 480.9 MB, free: 6.016 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.00271, allocations: 1.206 MB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.624e-05/0.002756, allocations: 0.5469 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.693e-05/0.002793, allocations: 4.594 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.114e-05/0.002884, allocations: 26.48 kB / 482.2 MB, free: 4.777 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.003234, allocations: 128.7 kB / 482.3 MB, free: 4.652 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.003388, allocations: 130 kB / 482.4 MB, free: 4.539 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.003466, allocations: 11.98 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.00358, allocations: 73.23 kB / 482.5 MB, free: 4.457 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.212e-05/0.003662, allocations: 43.88 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.003684, allocations: 12 kB / 482.6 MB, free: 4.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-05/0.003763, allocations: 20.58 kB / 482.6 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.003786, allocations: 16.52 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.003827, allocations: 39.91 kB / 482.6 MB, free: 4.328 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.003966, allocations: 109.1 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003968, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003969, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003972, allocations: 0 / 482.7 MB, free: 4.223 MB / 442.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.000375/0.004347, allocations: 310.9 kB / 483 MB, free: 3.891 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.004383, allocations: 13.53 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.004416, allocations: 8.922 kB / 483.1 MB, free: 3.871 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.251e-05/0.004499, allocations: 117.7 kB / 483.2 MB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.00451, allocations: 4.375 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.004524, allocations: 9.219 kB / 483.2 MB, free: 3.719 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004631, allocations: 66.92 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.004638, allocations: 4.734 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004648, allocations: 4.359 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.004653, allocations: 0.9375 kB / 483.3 MB, free: 3.641 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.493e-05/0.004678, allocations: 11.94 kB / 483.3 MB, free: 3.629 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.004958, allocations: 188.7 kB / 483.5 MB, free: 3.43 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.005, allocations: 25.89 kB / 483.5 MB, free: 3.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.377e-05/0.005024, allocations: 12.94 kB / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.005041, allocations: 0 / 483.5 MB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.005144, allocations: 63.45 kB / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.005144, allocations: 0 / 483.6 MB, free: 3.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001358/0.00528, allocations: 69.55 kB / 483.6 MB, free: 3.234 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.005321, allocations: 55.39 kB / 483.7 MB, free: 3.168 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.704e-05/0.005408, allocations: 129.8 kB / 483.8 MB, free: 3.031 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.005425, allocations: 26.27 kB / 483.8 MB, free: 3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.005471, allocations: 96.05 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.005494, allocations: 21.09 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.00554, allocations: 29.7 kB / 484 MB, free: 2.848 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.005625, allocations: 318.8 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.005683, allocations: 54.69 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.005743, allocations: 76.12 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.005817, allocations: 85.5 kB / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.00582, allocations: 0 / 484.5 MB, free: 2.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001343/0.005954, allocations: 150.2 kB / 484.6 MB, free: 2.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.005983, allocations: 41.69 kB / 484.7 MB, free: 2.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.005989, allocations: 4.562 kB / 484.7 MB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.006001, allocations: 4 kB / 484.7 MB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.704e-05/0.006078, allocations: 16.55 kB / 484.7 MB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.006082, allocations: 5 kB / 484.7 MB, free: 2.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.797e-05/0.00616, allocations: 25.48 kB / 484.7 MB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.006173, allocations: 7.984 kB / 484.7 MB, free: 2.012 MB / 442.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.789e-05/0.006241, allocations: 117.8 kB / 484.9 MB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.00625, allocations: 4.906 kB / 484.9 MB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.006273, allocations: 16.36 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006275, allocations: 0 / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.006276, allocations: 1 kB / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006279, allocations: 0 / 484.9 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.006631, allocations: 81.86 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006632, allocations: 0.5625 kB / 485 MB, free: 1.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.00667, allocations: 13.7 kB / 485 MB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.006673, allocations: 4 kB / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.006677, allocations: 0 / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006678, allocations: 0 / 485 MB, free: 1.754 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.006681, allocations: 7.875 kB / 485 MB, free: 1.746 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.97e-05/0.006761, allocations: 78.77 kB / 485.1 MB, free: 1.652 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.006768, allocations: 7.953 kB / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.006777, allocations: 0 / 485.1 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.0068, allocations: 7.984 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.00683, allocations: 12.62 kB / 485.1 MB, free: 1.625 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.006835, allocations: 3.984 kB / 485.1 MB, free: 1.621 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.00685, allocations: 14.86 kB / 485.1 MB, free: 1.605 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00685, allocations: 3.938 kB / 485.1 MB, free: 1.602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001172/0.006967, allocations: 27.98 kB / 485.1 MB, free: 1.574 MB / 442.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 8.437e-05/0.007052, allocations: 89.66 kB / 485.2 MB, free: 1.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.007188, allocations: 137.9 kB / 485.4 MB, free: 1.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.007191, allocations: 4 kB / 485.4 MB, free: 1.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.927e-05/0.00722, allocations: 25.66 kB / 485.4 MB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001007/0.007321, allocations: 13.48 kB / 485.4 MB, free: 1.281 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.007567, allocations: 163.7 kB / 485.6 MB, free: 1.098 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.007596, allocations: 59.94 kB / 485.6 MB, free: 1.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.00762, allocations: 7.312 kB / 485.6 MB, free: 1.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.007697, allocations: 67.36 kB / 485.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/0.007698, allocations: 0 / 485.7 MB, free: 0.9492 MB / 442.7 MB Notification: Performance of Templates: time 0.003117/0.01081, allocations: 1.73 MB / 487.4 MB, free: 15.34 MB / 458.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7059788098558784]