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.0007934/0.0007934, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007969/0.0007969, allocations: 212.1 kB / 23 MB, free: 2.98 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 0.913/0.913, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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-531:686: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-531:694: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.7683/0.7683, allocations: 203.5 MB / 0.5046 GB, free: 10.71 MB / 410.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008772/0.0008772, allocations: 65.25 kB / 0.7191 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4629/0.4638, allocations: 102 MB / 0.8187 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001505/0.4653, allocations: 0.7547 MB / 0.8194 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.4663, allocations: 1.18 MB / 0.8205 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.4663, allocations: 1.094 kB / 0.8205 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.4663, allocations: 5.203 kB / 0.8205 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.4664, allocations: 16.12 kB / 0.8206 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.4668, allocations: 132.9 kB / 0.8207 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.467, allocations: 127.4 kB / 0.8208 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.4671, allocations: 10.75 kB / 0.8208 GB, free: 40 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.4671, allocations: 62.02 kB / 0.8209 GB, free: 8 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.4673, allocations: 44.94 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.4673, allocations: 12.03 kB / 0.8209 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.4673, allocations: 19.58 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.633e-05/0.4674, allocations: 20.16 kB / 0.821 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.602e-05/0.4674, allocations: 40.34 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.4676, allocations: 118.3 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4676, allocations: 3.938 kB / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4676, allocations: 0 / 0.8211 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4676, allocations: 3.75 kB / 0.8211 GB, free: 15.92 MB / 0.6198 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.0005043/0.4681, allocations: 348.5 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4681, allocations: 9.219 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.4682, allocations: 10.72 kB / 0.8215 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.013e-05/0.4683, allocations: 125.2 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4683, allocations: 8.297 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.4683, allocations: 5.094 kB / 0.8216 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.4685, allocations: 78.48 kB / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.4685, allocations: 192 / 0.8217 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.4685, allocations: 11.94 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.4685, allocations: 0.6562 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.4686, allocations: 70.12 kB / 0.8218 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.469, allocations: 251.9 kB / 0.822 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.4691, allocations: 54.89 kB / 0.8221 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.3e-05/0.4692, allocations: 44.84 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.4692, allocations: 0.7031 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001872/0.4694, allocations: 95.17 kB / 0.8222 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/0.4694, allocations: 0 / 0.8222 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0003625/0.4698, allocations: 172.8 kB / 0.8224 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.4698, allocations: 54.03 kB / 0.8224 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.4699, allocations: 124.3 kB / 0.8225 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.4699, allocations: 32.7 kB / 0.8226 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.515e-05/0.4699, allocations: 97.5 kB / 0.8227 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.4699, allocations: 24.44 kB / 0.8227 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.47, allocations: 32.12 kB / 0.8227 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/0.4701, allocations: 318.1 kB / 0.823 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4702, allocations: 93.38 kB / 0.8231 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4703, allocations: 115.7 kB / 0.8232 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.4705, allocations: 134.7 kB / 0.8233 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4705, allocations: 7.938 kB / 0.8233 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003223/0.4709, allocations: 245.7 kB / 0.8236 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.4709, allocations: 38.12 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.4709, allocations: 1.469 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.4709, allocations: 6.531 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.471, allocations: 25.31 kB / 0.8236 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.471, allocations: 0.7969 kB / 0.8236 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.4711, allocations: 34.92 kB / 0.8237 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.4711, allocations: 5.938 kB / 0.8237 GB, free: 13.94 MB / 0.6198 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 7.063e-05/0.4712, allocations: 123.2 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.506e-06/0.4712, allocations: 6.703 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.384e-05/0.4712, allocations: 11.86 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4712, allocations: 4.562 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4712, allocations: 0 / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4712, allocations: 0.7969 kB / 0.8238 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.826e-05/0.4713, allocations: 122.6 kB / 0.8239 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.4713, allocations: 0.7031 kB / 0.8239 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.962e-05/0.4714, allocations: 15.44 kB / 0.824 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4714, allocations: 1.734 kB / 0.824 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4714, allocations: 10.19 kB / 0.824 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4714, allocations: 7.984 kB / 0.824 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4714, allocations: 0.8125 kB / 0.824 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.4716, allocations: 158.3 kB / 0.8241 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.516e-06/0.4716, allocations: 7.078 kB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.4716, allocations: 0.9375 kB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.4717, allocations: 16.77 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.4717, allocations: 4.781 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.4717, allocations: 3.547 kB / 0.8242 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.4718, allocations: 100.2 kB / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4718, allocations: 5.344 kB / 0.8243 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001528/0.4719, allocations: 24.17 kB / 0.8243 GB, free: 13.46 MB / 0.6198 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.0001156/0.472, allocations: 100.5 kB / 0.8244 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.4723, allocations: 205 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4723, allocations: 1.5 kB / 0.8246 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.554e-05/0.4724, allocations: 49.03 kB / 0.8246 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.4726, allocations: 22.86 kB / 0.8246 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.4729, allocations: 191.8 kB / 0.8248 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.745e-05/0.473, allocations: 72.61 kB / 0.8249 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.473, allocations: 22.94 kB / 0.8249 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of SimCode: time 3.81e-07/0.473, allocations: 0 / 0.8249 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.002499/0.4755, allocations: 1.328 MB / 0.8262 GB, free: 12.86 MB / 0.6198 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.66444440279156] Failed to read output from testmodel.py, exit status != 0: 0.48062177328392863 0.49009698900000004 0.020616939 Calling exit ...