Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001731/0.001731, allocations: 80.59 kB / 19.18 MB, free: 2.527 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.002144/0.002144, allocations: 170.1 kB / 22.46 MB, free: 5.355 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.552/1.552, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.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.228/1.228, allocations: 154.6 MB / 413.7 MB, free: 5.312 MB / 382.1 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 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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.535e-06/2.535e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.893e-05, allocations: 4.672 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002151/0.00218, allocations: 0.6501 MB / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003494, allocations: 0.825 MB / 0.62 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.003536, allocations: 4 kB / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.003564, allocations: 0 / 0.62 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.415e-05/0.003638, allocations: 3.938 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001663/0.003804, allocations: 15.92 kB / 0.6201 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.773e-05/0.003892, allocations: 23.98 kB / 0.6201 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.00402, allocations: 7.922 kB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.004105, allocations: 15.98 kB / 0.6201 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.671e-05/0.004142, allocations: 4 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.004166, allocations: 4 kB / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.856e-06/0.004175, allocations: 0 / 0.6201 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.004192, allocations: 4 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.081e-05/0.004223, allocations: 15.92 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.798e-05/0.004311, allocations: 19.97 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004314, allocations: 4 kB / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004314, allocations: 0 / 0.6201 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004318, allocations: 0 / 0.6201 GB, free: 2.992 MB / 0.5294 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.0004733/0.004792, allocations: 262.3 kB / 0.6204 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.004836, allocations: 9.469 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.004869, allocations: 4.891 kB / 0.6204 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.004996, allocations: 113.7 kB / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.005013, allocations: 384 / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.005028, allocations: 384 / 0.6205 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.005232, allocations: 54.23 kB / 0.6206 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.005244, allocations: 4.188 kB / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.005254, allocations: 384 / 0.6206 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.005259, allocations: 4.375 kB / 0.6206 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.005432, allocations: 39.83 kB / 0.6206 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.00581, allocations: 192.6 kB / 0.6208 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.005968, allocations: 42.53 kB / 0.6208 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.716e-05/0.006065, allocations: 24.91 kB / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.006088, allocations: 0 / 0.6209 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.00612, allocations: 30.56 kB / 0.6209 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.006121, allocations: 0 / 0.6209 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003902/0.006511, allocations: 85.58 kB / 0.621 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.006559, allocations: 55.34 kB / 0.621 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.00667, allocations: 109.8 kB / 0.6211 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.006689, allocations: 29.77 kB / 0.6212 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.006742, allocations: 84.14 kB / 0.6212 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.006766, allocations: 7.953 kB / 0.6212 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.00681, allocations: 13.72 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.006961, allocations: 310.8 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.007055, allocations: 23.97 kB / 0.6216 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.276e-05/0.007148, allocations: 11.98 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.007315, allocations: 40.89 kB / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.007317, allocations: 0 / 0.6216 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.007535, allocations: 73.55 kB / 0.6217 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.007555, allocations: 8 kB / 0.6217 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.007561, allocations: 3.938 kB / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.007577, allocations: 0 / 0.6217 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.007679, allocations: 7.984 kB / 0.6217 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.007691, allocations: 7.984 kB / 0.6217 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.007741, allocations: 8.016 kB / 0.6217 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.007747, allocations: 4 kB / 0.6217 GB, free: 1.184 MB / 0.5294 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 8.501e-05/0.007832, allocations: 106.8 kB / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.007856, allocations: 0 / 0.6218 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.007894, allocations: 19.2 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007896, allocations: 0 / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.007901, allocations: 0 / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.007904, allocations: 0 / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.008068, allocations: 101.3 kB / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008069, allocations: 0 / 0.622 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.288e-05/0.008132, allocations: 15.98 kB / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.008134, allocations: 0 / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.008141, allocations: 0 / 0.622 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.008145, allocations: 3.938 kB / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.008146, allocations: 0 / 0.622 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.008432, allocations: 163.5 kB / 0.6221 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.311e-05/0.008445, allocations: 7.953 kB / 0.6221 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.008459, allocations: 3.938 kB / 0.6221 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.008545, allocations: 19.95 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.008592, allocations: 0 / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.008595, allocations: 0 / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.008644, allocations: 87.22 kB / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.008644, allocations: 0 / 0.6222 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002269/0.008871, allocations: 4 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 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 0.0001425/0.009014, allocations: 95.23 kB / 0.6223 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.009232, allocations: 39.97 kB / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.009234, allocations: 0 / 0.6224 GB, free: 468 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.009323, allocations: 19.92 kB / 0.6224 GB, free: 448 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.009644, allocations: 7.984 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.009981, allocations: 104.8 kB / 0.6225 GB, free: 308 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.314e-05/0.01004, allocations: 55.36 kB / 0.6226 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.219e-05/0.01007, allocations: 0 / 0.6226 GB, free: 232 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.0101, allocations: 16.62 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of SimCode: time 3.71e-07/0.0101, allocations: 0 / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of Templates: time 0.003093/0.01319, allocations: 481.2 kB / 0.623 GB, free: 15.75 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.842920824885368] Failed to read output from testmodel.py, exit status != 0: 0.02300865575671196 0.038932623 0.031306721 Calling exit ...