Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.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.0007103/0.0007103, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007086/0.0007086, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8193/0.8193, allocations: 177.1 MB / 203.5 MB, free: 5.73 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-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.6817/0.6817, allocations: 154.6 MB / 414.5 MB, free: 0.832 MB / 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.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.617e-05/2.835e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001247/0.001275, allocations: 0.6521 MB / 0.62 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007904/0.002066, allocations: 0.8705 MB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.402e-05/0.0021, allocations: 0 / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.002126, allocations: 4 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.795e-05/0.002184, allocations: 3.938 kB / 0.6208 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.002352, allocations: 11.98 kB / 0.6208 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.002422, allocations: 23.92 kB / 0.6209 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.002514, allocations: 4 kB / 0.6209 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.00258, allocations: 11.98 kB / 0.6209 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.002615, allocations: 15.91 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.002638, allocations: 4 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.991e-06/0.002644, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.002658, allocations: 4 kB / 0.6209 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.814e-05/0.002676, allocations: 8 kB / 0.6209 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.519e-05/0.002751, allocations: 19.91 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002753, allocations: 0 / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.223e-06/0.002754, allocations: 3.938 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002758, allocations: 4 kB / 0.6209 GB, free: 11.55 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003406/0.003099, allocations: 258.3 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.003133, allocations: 9.469 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.003163, allocations: 12.88 kB / 0.6212 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.756e-05/0.003241, allocations: 101.8 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.003251, allocations: 384 / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.003261, allocations: 12.38 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.003385, allocations: 46.23 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.003392, allocations: 192 / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.886e-06/0.003401, allocations: 4.375 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003407, allocations: 384 / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.00349, allocations: 35.91 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002575/0.003748, allocations: 196.5 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.003832, allocations: 38.56 kB / 0.6216 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.003875, allocations: 20.91 kB / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.003896, allocations: 7.969 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.003915, allocations: 34.56 kB / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.003916, allocations: 0 / 0.6217 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0002193/0.004135, allocations: 85.48 kB / 0.6218 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.004167, allocations: 63.52 kB / 0.6218 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.605e-05/0.004224, allocations: 93.86 kB / 0.6219 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004232, allocations: 25.7 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.004269, allocations: 84.14 kB / 0.622 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.004292, allocations: 15.88 kB / 0.622 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.004317, allocations: 13.7 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.492e-05/0.004392, allocations: 318.8 kB / 0.6224 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.004434, allocations: 11.98 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.367e-05/0.004468, allocations: 15.98 kB / 0.6224 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.004545, allocations: 44.88 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.004547, allocations: 0 / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.623e-05/0.004643, allocations: 65.61 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.004657, allocations: 10.02 kB / 0.6225 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.004663, allocations: 3.938 kB / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.004675, allocations: 0 / 0.6225 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.398e-05/0.004739, allocations: 12.03 kB / 0.6225 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.004743, allocations: 3.938 kB / 0.6225 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.262e-05/0.004766, allocations: 7.984 kB / 0.6225 GB, free: 9.754 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.004772, allocations: 4 kB / 0.6225 GB, free: 9.75 MB / 0.5886 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 (2): * Single equations (assignments): 2 * 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.379e-05/0.004826, allocations: 114.8 kB / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.004838, allocations: 0 / 0.6226 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.004861, allocations: 7.25 kB / 0.6226 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.004864, allocations: 3.984 kB / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.004868, allocations: 0 / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004871, allocations: 0 / 0.6226 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.197e-05/0.004953, allocations: 109.3 kB / 0.6227 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.004954, allocations: 0 / 0.6227 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.004978, allocations: 7.984 kB / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00498, allocations: 0 / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.004986, allocations: 0 / 0.6228 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.004988, allocations: 7.938 kB / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.004989, allocations: 0 / 0.6228 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.005122, allocations: 163.4 kB / 0.6229 GB, free: 9.285 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-06/0.005128, allocations: 4.031 kB / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.005138, allocations: 0 / 0.6229 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.92e-05/0.005177, allocations: 19.86 kB / 0.6229 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.00521, allocations: 4 kB / 0.6229 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005213, allocations: 0 / 0.6229 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.853e-05/0.005241, allocations: 83.27 kB / 0.623 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005241, allocations: 0 / 0.623 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001366/0.005378, allocations: 4 kB / 0.623 GB, free: 9.172 MB / 0.5886 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 (2): * Single equations (assignments): 2 * 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 9.191e-05/0.00547, allocations: 91.25 kB / 0.6231 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000129/0.005599, allocations: 47.89 kB / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.0056, allocations: 0 / 0.6232 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.005638, allocations: 15.98 kB / 0.6232 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.005867, allocations: 2.531 kB / 0.6232 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002437/0.006111, allocations: 134.6 kB / 0.6233 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.121e-05/0.006152, allocations: 63.47 kB / 0.6234 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.006176, allocations: 12.5 kB / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of SimCode: time 3.71e-07/0.006177, allocations: 0 / 0.6234 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of Templates: time 0.001406/0.007583, allocations: 0.5493 MB / 0.6239 GB, free: 8.207 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7138146152719855] Failed to read output from testmodel.py, exit status != 0: 0.012929040938615799 0.020630254 0.016347853000000002 Calling exit ...