Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.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.00145/0.00145, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001769/0.001769, allocations: 210.7 kB / 22.25 MB, free: 5.086 MB / 14.72 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.303/1.303, allocations: 203.8 MB / 0.5042 GB, free: 4.957 MB / 414.1 MB " [Timeout remaining time 178] 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo") [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.002108/0.002108, allocations: 63.91 kB / 0.7187 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6992, allocations: 102 MB / 0.8184 GB, free: 29.22 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001998/0.7012, allocations: 0.6967 MB / 0.8191 GB, free: 28.79 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.7024, allocations: 0.9038 MB / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.404e-05/0.7024, allocations: 0 / 0.8199 GB, free: 28.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.7024, allocations: 5.625 kB / 0.8199 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 7.695e-05/0.7025, allocations: 5.875 kB / 0.82 GB, free: 28.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.7027, allocations: 16.34 kB / 0.82 GB, free: 28.1 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.7028, allocations: 46.09 kB / 0.82 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.7029, allocations: 5.547 kB / 0.82 GB, free: 28.08 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.876e-05/0.703, allocations: 27.52 kB / 0.82 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.7031, allocations: 17.44 kB / 0.8201 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.7031, allocations: 4.188 kB / 0.8201 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.7031, allocations: 3.562 kB / 0.8201 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.7031, allocations: 14.42 kB / 0.8201 GB, free: 28.05 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.004e-05/0.7031, allocations: 17.66 kB / 0.8201 GB, free: 28.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001048/0.7032, allocations: 39.3 kB / 0.8201 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7032, allocations: 1.609 kB / 0.8201 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7032, allocations: 0 / 0.8201 GB, free: 28.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7033, allocations: 0.5 kB / 0.8201 GB, free: 28.02 MB / 0.6387 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.0004861/0.7037, allocations: 294.7 kB / 0.8204 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.7038, allocations: 11.02 kB / 0.8204 GB, free: 27.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.7038, allocations: 7.797 kB / 0.8204 GB, free: 27.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.345e-05/0.7039, allocations: 115.3 kB / 0.8205 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.7039, allocations: 6.062 kB / 0.8206 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.7039, allocations: 2.656 kB / 0.8206 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.7042, allocations: 69.77 kB / 0.8206 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.7042, allocations: 2.031 kB / 0.8206 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.7042, allocations: 3.938 kB / 0.8206 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.7042, allocations: 2.594 kB / 0.8206 GB, free: 27.56 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.7045, allocations: 63 kB / 0.8207 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.7048, allocations: 242.2 kB / 0.8209 GB, free: 27.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.705, allocations: 60.53 kB / 0.821 GB, free: 27.27 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.7052, allocations: 42.31 kB / 0.821 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.7052, allocations: 4.641 kB / 0.821 GB, free: 27.25 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.7052, allocations: 36.72 kB / 0.8211 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7052, allocations: 0.75 kB / 0.8211 GB, free: 27.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005697/0.7058, allocations: 133.4 kB / 0.8212 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.7058, allocations: 52.69 kB / 0.8212 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.052e-05/0.7059, allocations: 111.2 kB / 0.8213 GB, free: 26.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.7059, allocations: 27.12 kB / 0.8214 GB, free: 26.96 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.505e-05/0.7059, allocations: 87.92 kB / 0.8215 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.706, allocations: 13.56 kB / 0.8215 GB, free: 26.86 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.706, allocations: 17.17 kB / 0.8215 GB, free: 26.84 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.706, allocations: 317.2 kB / 0.8218 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7062, allocations: 30.14 kB / 0.8218 GB, free: 26.53 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.7064, allocations: 31.27 kB / 0.8218 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.7067, allocations: 70.81 kB / 0.8219 GB, free: 26.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7067, allocations: 5.125 kB / 0.8219 GB, free: 26.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003286/0.707, allocations: 98.36 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.707, allocations: 5.703 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.707, allocations: 0 / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.707, allocations: 1.062 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.7072, allocations: 19.66 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.7072, allocations: 3.562 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.7073, allocations: 11.45 kB / 0.822 GB, free: 26.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.7073, allocations: 1.094 kB / 0.822 GB, free: 26.46 MB / 0.6387 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 6.367e-05/0.7073, allocations: 114.1 kB / 0.8222 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.7074, allocations: 9.234 kB / 0.8222 GB, free: 26.34 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.7074, allocations: 10.36 kB / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.7074, allocations: 4.938 kB / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.7074, allocations: 0 / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.7074, allocations: 1.562 kB / 0.8222 GB, free: 26.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.7076, allocations: 141.7 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7076, allocations: 0 / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.7077, allocations: 15.98 kB / 0.8223 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.7077, allocations: 4.609 kB / 0.8223 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.7077, allocations: 4.531 kB / 0.8223 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.7077, allocations: 0.5 kB / 0.8223 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.7077, allocations: 1.406 kB / 0.8223 GB, free: 26.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.7081, allocations: 198.3 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.256e-05/0.7081, allocations: 6.359 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.7081, allocations: 0.5625 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7082, allocations: 11.61 kB / 0.8225 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.7083, allocations: 4.312 kB / 0.8226 GB, free: 26 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.7083, allocations: 5.891 kB / 0.8226 GB, free: 25.99 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.358e-05/0.7083, allocations: 87.23 kB / 0.8226 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.7083, allocations: 0.5 kB / 0.8226 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002341/0.7086, allocations: 5.906 kB / 0.8226 GB, free: 25.91 MB / 0.6387 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 0.0001515/0.7087, allocations: 101 kB / 0.8227 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.7092, allocations: 71.28 kB / 0.8228 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7092, allocations: 0 / 0.8228 GB, free: 25.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.7093, allocations: 35.34 kB / 0.8228 GB, free: 25.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.7097, allocations: 16.97 kB / 0.8229 GB, free: 25.79 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.7101, allocations: 122 kB / 0.823 GB, free: 25.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.7102, allocations: 0.6842 MB / 0.8236 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.7103, allocations: 2.016 kB / 0.8236 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.7103, allocations: 9.75 kB / 0.8237 GB, free: 24.97 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.7103, allocations: 4 kB / 0.8237 GB, free: 24.96 MB / 0.6387 GB Notification: Performance of Templates: time 0.003652/0.7139, allocations: 0.7362 MB / 0.8244 GB, free: 24.89 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.002227956429124] Failed to read output from testmodel.py, exit status != 0: 0.7229432426393032 0.73663793 0.030560200000000003 Calling exit ...