Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.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.0009198/0.0009198, allocations: 93.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.001414/0.001414, allocations: 173 kB / 23.03 MB, free: 1.539 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 0.9819/0.9819, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8004/0.8004, allocations: 154.9 MB / 414.8 MB, free: 380 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.251e-05, allocations: 13.44 kB / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001972/0.002005, allocations: 0.6919 MB / 0.5214 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.003028, allocations: 0.8548 MB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.003067, allocations: 1.594 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.0031, allocations: 3.938 kB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.003181, allocations: 15.86 kB / 0.5223 GB, free: 196 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.003296, allocations: 8.547 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.991e-05/0.003386, allocations: 43.86 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.00348, allocations: 8.984 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.59e-05/0.003576, allocations: 23.98 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.003629, allocations: 25 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.003653, allocations: 4 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.17e-05/0.003665, allocations: 0 / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.003683, allocations: 12.67 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.003708, allocations: 8 kB / 0.5224 GB, free: 64 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.003799, allocations: 28.88 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.003801, allocations: 0 / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.003802, allocations: 0 / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.003806, allocations: 1.562 kB / 0.5224 GB, free: 36 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004321/0.004239, allocations: 372.7 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.004279, allocations: 12.03 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.004326, allocations: 10.02 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.004427, allocations: 120.5 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.004439, allocations: 384 / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.004449, allocations: 4.375 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.004615, allocations: 67.61 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.004622, allocations: 1.469 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.004632, allocations: 384 / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.00464, allocations: 4.375 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.995e-05/0.00468, allocations: 9.188 kB / 0.523 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.005009, allocations: 267.7 kB / 0.5233 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.581e-05/0.005095, allocations: 39.05 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.957e-05/0.005125, allocations: 12.47 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.005142, allocations: 3.938 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.005168, allocations: 34.23 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.005169, allocations: 0 / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001833/0.005353, allocations: 60.31 kB / 0.5234 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.005384, allocations: 51.41 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.49e-05/0.005469, allocations: 165.9 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.005481, allocations: 25.7 kB / 0.5236 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.005536, allocations: 142.8 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.005556, allocations: 7.953 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.005591, allocations: 19.38 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.005718, allocations: 492.7 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.005743, allocations: 12.48 kB / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.005759, allocations: 0 / 0.5243 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.218e-05/0.005802, allocations: 16.19 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.005804, allocations: 1.094 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.088e-05/0.005895, allocations: 53.62 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.005909, allocations: 7.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.005913, allocations: 0.6875 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005926, allocations: 0 / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.006024, allocations: 13.48 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.006029, allocations: 0 / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.006062, allocations: 7.953 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.006071, allocations: 4.5 kB / 0.5244 GB, free: 13.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.448e-05/0.006146, allocations: 157.6 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.006172, allocations: 4 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.006289, allocations: 57.55 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.006291, allocations: 0.9688 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.006295, allocations: 0 / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.006299, allocations: 5 kB / 0.5246 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001285/0.006428, allocations: 116.6 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.006429, allocations: 1.219 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.006482, allocations: 11.98 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006485, allocations: 0 / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006492, allocations: 0.7188 kB / 0.5247 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006495, allocations: 7.938 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.006497, allocations: 5.578 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.006625, allocations: 199.9 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-06/0.006632, allocations: 3.938 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.006644, allocations: 4 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.006713, allocations: 15.11 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.006753, allocations: 3.938 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.006757, allocations: 0 / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.006808, allocations: 135.2 kB / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.006808, allocations: 0 / 0.5251 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002414/0.00705, allocations: 4 kB / 0.5251 GB, free: 13.05 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 8.76e-05/0.007138, allocations: 95.25 kB / 0.5252 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.007237, allocations: 26.11 kB / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007238, allocations: 0 / 0.5252 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.007267, allocations: 11.69 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.007542, allocations: 10.88 kB / 0.5252 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.007834, allocations: 139.2 kB / 0.5254 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.806e-05/0.007872, allocations: 55.34 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.007899, allocations: 4.906 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.007933, allocations: 13.62 kB / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of SimCode: time 1.653e-06/0.007935, allocations: 0 / 0.5254 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of Templates: time 0.002804/0.01074, allocations: 0.7761 MB / 0.5262 GB, free: 11.9 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.801057812292129]