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.001061/0.001061, allocations: 89.06 kB / 19.65 MB, free: 272 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.001312/0.001312, allocations: 173 kB / 23.02 MB, free: 1.543 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.045/1.045, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.7727/0.7727, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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 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 2.344e-06/2.344e-06, allocations: 0 / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.702e-05, allocations: 3.719 kB / 0.5204 GB, free: 2.137 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001462/0.001489, allocations: 0.7717 MB / 0.5211 GB, free: 1.383 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.002725, allocations: 1.202 MB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.234e-05/0.002777, allocations: 4 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.231e-05/0.002809, allocations: 5.25 kB / 0.5223 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.815e-05/0.002888, allocations: 11.88 kB / 0.5223 GB, free: 152 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004419/0.003329, allocations: 128.2 kB / 0.5225 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000186/0.003515, allocations: 140.6 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.003616, allocations: 11.98 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.003735, allocations: 73.73 kB / 0.5227 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.003822, allocations: 43.94 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.003848, allocations: 8 kB / 0.5227 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.5e-05/0.003913, allocations: 20 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.003941, allocations: 15.91 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.229e-05/0.004003, allocations: 40.94 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.004175, allocations: 103.7 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.004177, allocations: 4.812 kB / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.162e-06/0.004178, allocations: 0 / 0.5229 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.004184, allocations: 0 / 0.5229 GB, free: 15.57 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.0004745/0.004658, allocations: 443.2 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.004699, allocations: 12.03 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.004755, allocations: 10.33 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.004848, allocations: 122.9 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.004863, allocations: 384 / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.004883, allocations: 8.375 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.005043, allocations: 71.7 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.005053, allocations: 0.9688 kB / 0.5235 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.005065, allocations: 4.375 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.005074, allocations: 4.375 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.005111, allocations: 18.73 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/0.005473, allocations: 311.6 kB / 0.5239 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.448e-05/0.005528, allocations: 35.06 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.005556, allocations: 15.77 kB / 0.5239 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.005576, allocations: 3.938 kB / 0.5239 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.005945, allocations: 72.98 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.005946, allocations: 0.5 kB / 0.524 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001992/0.006146, allocations: 82.34 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.00618, allocations: 59.34 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.476e-05/0.006264, allocations: 178.8 kB / 0.5243 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.006285, allocations: 33.7 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.006338, allocations: 134.9 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.006356, allocations: 16.86 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.006407, allocations: 39.36 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.006522, allocations: 496.7 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.069e-05/0.006602, allocations: 61.67 kB / 0.525 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.849e-05/0.006681, allocations: 85.86 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.006777, allocations: 97.25 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.00678, allocations: 5.031 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000219/0.006999, allocations: 184.9 kB / 0.5254 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.007032, allocations: 42.88 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.007037, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.007052, allocations: 0 / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.949e-05/0.007142, allocations: 16.61 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007147, allocations: 0 / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.194e-05/0.007239, allocations: 29.25 kB / 0.5255 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.007255, allocations: 11.92 kB / 0.5255 GB, free: 12.66 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 7.482e-05/0.00733, allocations: 165.1 kB / 0.5256 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.007344, allocations: 19.27 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.007373, allocations: 8.438 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.007375, allocations: 0 / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.00738, allocations: 4 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.007385, allocations: 3.984 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.007471, allocations: 128.7 kB / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.007472, allocations: 0 / 0.5258 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.00751, allocations: 11.98 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.007512, allocations: 4 kB / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.007519, allocations: 6.594 kB / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.00752, allocations: 0 / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.007522, allocations: 0 / 0.5258 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.007637, allocations: 108.8 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-06/0.007645, allocations: 4 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.007657, allocations: 3.938 kB / 0.5259 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.007682, allocations: 11.94 kB / 0.5259 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.00772, allocations: 12.64 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.007726, allocations: 1.375 kB / 0.526 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.00777, allocations: 142.7 kB / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.00777, allocations: 0 / 0.5261 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001599/0.00793, allocations: 23.95 kB / 0.5261 GB, free: 11.96 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.0001299/0.00806, allocations: 104.9 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001947/0.008255, allocations: 160.7 kB / 0.5264 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008256, allocations: 6.75 kB / 0.5264 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.0083, allocations: 19.67 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.00847, allocations: 21.52 kB / 0.5264 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.008791, allocations: 168.1 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.008824, allocations: 59.36 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.566e-05/0.008849, allocations: 3.984 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.008879, allocations: 12.5 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of SimCode: time 9.42e-07/0.00888, allocations: 0 / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.003427/0.01231, allocations: 1.726 MB / 0.5283 GB, free: 9.719 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: 3.9380129990167916]