Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.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.001663/0.001663, allocations: 80.2 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.001632/0.001632, allocations: 174.2 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.208/1.208, allocations: 154.5 MB / 413.7 MB, free: 5.301 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.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.945e-06/2.945e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.2e-05/4.494e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002098/0.002143, allocations: 0.7392 MB / 0.6193 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.003557, allocations: 0.8859 MB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.456e-05/0.003611, allocations: 2.875 kB / 0.6201 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.003653, allocations: 7.875 kB / 0.6201 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003754, allocations: 11.92 kB / 0.6201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.003953, allocations: 39.89 kB / 0.6202 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.004097, allocations: 83.77 kB / 0.6203 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004229, allocations: 23.97 kB / 0.6203 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.004361, allocations: 48.52 kB / 0.6203 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.004458, allocations: 39.88 kB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.833e-05/0.004496, allocations: 9.562 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.293e-05/0.004519, allocations: 8 kB / 0.6204 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.004563, allocations: 31.84 kB / 0.6204 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.528e-05/0.004608, allocations: 23.98 kB / 0.6204 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.004788, allocations: 100.6 kB / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004791, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004791, allocations: 0 / 0.6205 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.004804, allocations: 4 kB / 0.6205 GB, free: 2.594 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006955/0.005499, allocations: 318 kB / 0.6208 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.005543, allocations: 17.41 kB / 0.6209 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.005587, allocations: 8.891 kB / 0.6209 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.005745, allocations: 113.7 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.005769, allocations: 8.375 kB / 0.621 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.005791, allocations: 8.312 kB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.006137, allocations: 113.3 kB / 0.6211 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.006155, allocations: 3.938 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.00617, allocations: 0 / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.006177, allocations: 0 / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.006559, allocations: 103.8 kB / 0.6212 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.007118, allocations: 276.3 kB / 0.6215 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.007772, allocations: 114.6 kB / 0.6216 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.007976, allocations: 56.81 kB / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.007998, allocations: 0 / 0.6216 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.008026, allocations: 34.56 kB / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.008027, allocations: 0 / 0.6217 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0007057/0.008733, allocations: 185.4 kB / 0.6218 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.008783, allocations: 55.41 kB / 0.6219 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.008906, allocations: 121.8 kB / 0.622 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.008928, allocations: 25.7 kB / 0.622 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.008998, allocations: 96.08 kB / 0.6221 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.009028, allocations: 19.8 kB / 0.6221 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.913e-05/0.009087, allocations: 25.7 kB / 0.6222 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.009248, allocations: 322.8 kB / 0.6225 GB, free: 460 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.009436, allocations: 51.94 kB / 0.6225 GB, free: 408 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.00961, allocations: 47.89 kB / 0.6226 GB, free: 360 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.01002, allocations: 100.7 kB / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01002, allocations: 0 / 0.6227 GB, free: 256 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004314/0.01045, allocations: 141.5 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01047, allocations: 4 kB / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01047, allocations: 0 / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.01049, allocations: 0 / 0.6228 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.01067, allocations: 23.97 kB / 0.6228 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.01067, allocations: 0 / 0.6228 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.01079, allocations: 15.98 kB / 0.6228 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.0108, allocations: 7.984 kB / 0.6229 GB, free: 56 kB / 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: 3 (reaToInt1.y,reaToInt.y,sub.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.000118/0.01092, allocations: 122.7 kB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01095, allocations: 3.953 kB / 0.623 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.01098, allocations: 12.44 kB / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01099, allocations: 0 / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01099, allocations: 0 / 0.623 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.011, allocations: 3.984 kB / 0.623 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.01118, allocations: 137.2 kB / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01118, allocations: 0 / 0.6231 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.01134, allocations: 31.97 kB / 0.6231 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01135, allocations: 4 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01136, allocations: 3.984 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01136, allocations: 0 / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01136, allocations: 0 / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.01185, allocations: 231.3 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.01187, allocations: 11.95 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01189, allocations: 11.88 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.01204, allocations: 15.98 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.01214, allocations: 19.97 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01215, allocations: 4 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.01222, allocations: 94.77 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01222, allocations: 4 kB / 0.6235 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002422/0.01246, allocations: 15.94 kB / 0.6235 GB, free: 15.29 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (sub.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001327/0.01259, allocations: 107.2 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004441/0.01303, allocations: 96.53 kB / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01304, allocations: 0 / 0.6237 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.01326, allocations: 67.88 kB / 0.6238 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.01361, allocations: 11.94 kB / 0.6238 GB, free: 15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.0141, allocations: 173.8 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.202e-05/0.01418, allocations: 75.33 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.664e-05/0.01425, allocations: 8 kB / 0.6241 GB, free: 14.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.01432, allocations: 20.48 kB / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.01433, allocations: 0 / 0.6241 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.004902/0.01923, allocations: 1.687 MB / 0.6257 GB, free: 13.02 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7709077298641205] Failed to read output from testmodel.py, exit status != 0: 0.028176117688417435 0.042465180000000005 0.034694074000000005 Calling exit ...