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.0006846/0.0006846, 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.0006835/0.0006835, 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.853/0.853, allocations: 230.6 MB / 256.8 MB, free: 9.621 MB / 202.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-531:190: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-531:198: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.7378/0.7378, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [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: 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.0008857/0.0008857, allocations: 66.66 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4177, allocations: 102 MB / 0.8191 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Max): time 0.001326/0.419, allocations: 0.6915 MB / 0.8197 GB, free: 0.9141 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006018/0.4196, allocations: 0.8301 MB / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.4197, allocations: 0 / 0.8205 GB, free: 296 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.4197, allocations: 4.594 kB / 0.8205 GB, free: 292 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.4198, allocations: 7.016 kB / 0.8206 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.4199, allocations: 18.53 kB / 0.8206 GB, free: 276 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.4199, allocations: 41.19 kB / 0.8206 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.927e-05/0.42, allocations: 9.359 kB / 0.8206 GB, free: 252 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.926e-05/0.4201, allocations: 20.2 kB / 0.8206 GB, free: 244 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.141e-05/0.4201, allocations: 17.48 kB / 0.8207 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.4202, allocations: 3.344 kB / 0.8207 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.838e-06/0.4202, allocations: 4.188 kB / 0.8207 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.4202, allocations: 17.75 kB / 0.8207 GB, free: 220 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.4202, allocations: 13.22 kB / 0.8207 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.977e-05/0.4203, allocations: 41.48 kB / 0.8207 GB, free: 200 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4203, allocations: 4 kB / 0.8207 GB, free: 196 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4203, allocations: 0 / 0.8207 GB, free: 196 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.4203, allocations: 0 / 0.8207 GB, free: 196 kB / 0.6042 GB 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.0003729/0.4207, allocations: 287.9 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.4207, allocations: 8.844 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.4207, allocations: 8.016 kB / 0.821 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.793e-05/0.4208, allocations: 110.5 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.4208, allocations: 3.625 kB / 0.8211 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.4208, allocations: 8.25 kB / 0.8211 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.421, allocations: 72.3 kB / 0.8212 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.421, allocations: 192 / 0.8212 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.421, allocations: 6.688 kB / 0.8212 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.421, allocations: 0 / 0.8212 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4212, allocations: 64.52 kB / 0.8213 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4215, allocations: 204.1 kB / 0.8215 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4216, allocations: 66.09 kB / 0.8215 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.4217, allocations: 37.55 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.4217, allocations: 3.922 kB / 0.8216 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.4217, allocations: 35.16 kB / 0.8216 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4217, allocations: 3.938 kB / 0.8216 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0003128/0.422, allocations: 127.6 kB / 0.8217 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.422, allocations: 57.98 kB / 0.8218 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.4221, allocations: 114 kB / 0.8219 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.4221, allocations: 27.05 kB / 0.8219 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.4222, allocations: 86.41 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/0.4222, allocations: 14.12 kB / 0.822 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/0.4222, allocations: 20.14 kB / 0.822 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.115e-05/0.4223, allocations: 316.1 kB / 0.8223 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.4224, allocations: 33.05 kB / 0.8224 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.727e-05/0.4224, allocations: 33.58 kB / 0.8224 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.4226, allocations: 65.06 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4226, allocations: 4.703 kB / 0.8225 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001732/0.4227, allocations: 103.1 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.4228, allocations: 6.344 kB / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4228, allocations: 0 / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4228, allocations: 0 / 0.8226 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.4229, allocations: 22.72 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4229, allocations: 0.5625 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.4229, allocations: 15.44 kB / 0.8226 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.4229, allocations: 4.5 kB / 0.8226 GB, free: 14.64 MB / 0.6198 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 5.514e-05/0.423, allocations: 106.4 kB / 0.8227 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.423, allocations: 11.64 kB / 0.8227 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.4232, allocations: 105.2 kB / 0.8228 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4232, allocations: 4 kB / 0.8228 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.4232, allocations: 0 / 0.8228 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4232, allocations: 1.031 kB / 0.8228 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.013e-05/0.4233, allocations: 116.6 kB / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4233, allocations: 0 / 0.8229 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.4233, allocations: 19.56 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4233, allocations: 1.344 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4233, allocations: 3.938 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4233, allocations: 1.688 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4233, allocations: 1.078 kB / 0.823 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.4235, allocations: 196.1 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.4235, allocations: 6.156 kB / 0.8232 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.4235, allocations: 9.156 kB / 0.8232 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.4236, allocations: 12.22 kB / 0.8232 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.4236, allocations: 1.766 kB / 0.8232 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.4236, allocations: 1.5 kB / 0.8232 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.4237, allocations: 92.83 kB / 0.8233 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4237, allocations: 4 kB / 0.8233 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001397/0.4238, allocations: 6.344 kB / 0.8233 GB, free: 14.08 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: 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.587e-05/0.4239, allocations: 98.91 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001949/0.4241, allocations: 69.42 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4241, allocations: 1 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.278e-05/0.4242, allocations: 36.16 kB / 0.8235 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4244, allocations: 13.52 kB / 0.8235 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.4247, allocations: 159.2 kB / 0.8236 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.314e-05/0.4247, allocations: 64.45 kB / 0.8237 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.4247, allocations: 7.953 kB / 0.8237 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of SimCode: time 4.5e-07/0.4247, allocations: 2.656 kB / 0.8237 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.001747/0.4265, allocations: 0.7526 MB / 0.8245 GB, free: 13.68 MB / 0.6198 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.280019304249436] Failed to read output from testmodel.py, exit status != 0: 0.4318803381174803 0.44169050600000004 0.019507083 Calling exit ...