Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.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.00126/0.00126, allocations: 80.28 kB / 19.18 MB, free: 2.531 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.001382/0.001382, allocations: 173.6 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.479/1.479, allocations: 177.1 MB / 202.8 MB, free: 9.172 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.212/1.212, allocations: 154.6 MB / 413.7 MB, free: 5.293 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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.507e-05/2.75e-05, allocations: 4.25 kB / 0.6186 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Log): time 0.001596/0.001623, allocations: 0.644 MB / 0.6192 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.002675, allocations: 0.8354 MB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.551e-05/0.002711, allocations: 0 / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.002731, allocations: 0.625 kB / 0.62 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.142e-05/0.002793, allocations: 3.938 kB / 0.62 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.002953, allocations: 21.19 kB / 0.6201 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/0.00302, allocations: 23.92 kB / 0.6201 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.003099, allocations: 4 kB / 0.6201 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.192e-05/0.003161, allocations: 17.23 kB / 0.6201 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.971e-05/0.003201, allocations: 7.984 kB / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.003214, allocations: 0 / 0.6201 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.68e-05/0.003251, allocations: 8 kB / 0.6201 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.003268, allocations: 8 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.003291, allocations: 7.938 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.382e-05/0.003385, allocations: 35.88 kB / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.003387, allocations: 0 / 0.6202 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003388, allocations: 3.938 kB / 0.6202 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.347e-06/0.003391, allocations: 0 / 0.6202 GB, free: 2.969 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.0004222/0.003813, allocations: 258.3 kB / 0.6204 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.003847, allocations: 13.47 kB / 0.6204 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.003923, allocations: 4.891 kB / 0.6204 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.004021, allocations: 109.8 kB / 0.6205 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.004033, allocations: 4.375 kB / 0.6205 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.004043, allocations: 4.375 kB / 0.6205 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.004214, allocations: 50.22 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.004222, allocations: 192 / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.004234, allocations: 8.375 kB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.004238, allocations: 384 / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.00441, allocations: 35.89 kB / 0.6206 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002815/0.004692, allocations: 196.5 kB / 0.6208 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.00482, allocations: 38.59 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.184e-05/0.004912, allocations: 24.91 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.004931, allocations: 0 / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.004958, allocations: 30.56 kB / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.004959, allocations: 3.938 kB / 0.6209 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003704/0.00533, allocations: 93.52 kB / 0.621 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.005393, allocations: 51.41 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.005481, allocations: 97.86 kB / 0.6212 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.005501, allocations: 29.69 kB / 0.6212 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.005552, allocations: 88.08 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.005568, allocations: 3.953 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.005601, allocations: 13.72 kB / 0.6213 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.005732, allocations: 314.8 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.41e-05/0.005816, allocations: 15.98 kB / 0.6216 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.824e-05/0.005894, allocations: 24.09 kB / 0.6216 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.006049, allocations: 36.83 kB / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.006051, allocations: 0 / 0.6217 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002019/0.006252, allocations: 69.55 kB / 0.6217 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.006267, allocations: 8 kB / 0.6217 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.006273, allocations: 8.031 kB / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.006287, allocations: 0 / 0.6217 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.006374, allocations: 7.984 kB / 0.6217 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.006382, allocations: 7.984 kB / 0.6218 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.00643, allocations: 4 kB / 0.6218 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.006434, allocations: 0 / 0.6218 GB, free: 1.172 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.207e-05/0.006516, allocations: 114.8 kB / 0.6219 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.006542, allocations: 4 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.006781, allocations: 80.8 kB / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.006783, allocations: 0 / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.006787, allocations: 0 / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.00679, allocations: 0 / 0.6219 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.006919, allocations: 105.3 kB / 0.622 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.00692, allocations: 4 kB / 0.622 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.006976, allocations: 4 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006977, allocations: 0 / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.006986, allocations: 3.984 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.006989, allocations: 3.938 kB / 0.6221 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.006998, allocations: 8.031 kB / 0.6221 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.00724, allocations: 159.5 kB / 0.6222 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.007249, allocations: 7.953 kB / 0.6222 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007263, allocations: 7.938 kB / 0.6222 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/0.00734, allocations: 11.88 kB / 0.6222 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.007372, allocations: 7.922 kB / 0.6223 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.007376, allocations: 4 kB / 0.6223 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.843e-05/0.007424, allocations: 83.47 kB / 0.6223 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.007424, allocations: 4.031 kB / 0.6223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002138/0.007638, allocations: 0 / 0.6223 GB, free: 0.5039 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.0001317/0.00777, allocations: 95.25 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002222/0.007992, allocations: 35.95 kB / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.007993, allocations: 0 / 0.6225 GB, free: 372 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.00808, allocations: 15.98 kB / 0.6225 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.00837, allocations: 14.77 kB / 0.6225 GB, free: 344 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003071/0.008677, allocations: 104.7 kB / 0.6226 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.493e-05/0.008732, allocations: 59.34 kB / 0.6227 GB, free: 132 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.117e-05/0.008753, allocations: 4.141 kB / 0.6227 GB, free: 128 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.008781, allocations: 8.5 kB / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of SimCode: time 3.9e-07/0.008781, allocations: 0 / 0.6227 GB, free: 120 kB / 0.5294 GB Notification: Performance of Templates: time 0.002769/0.01155, allocations: 489.2 kB / 0.6231 GB, free: 15.65 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.763803374022245] Failed to read output from testmodel.py, exit status != 0: 0.01979343593120575 0.033173822 0.026933237000000002 Calling exit ...