Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001397/0.001397, allocations: 84.12 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.001492/0.001492, allocations: 164.8 kB / 22.46 MB, free: 5.359 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.484/1.484, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.244/1.244, allocations: 154.6 MB / 413.7 MB, free: 5.316 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.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.6185 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.933e-05, allocations: 4.672 kB / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00179/0.001819, allocations: 0.6899 MB / 0.6192 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.00312, allocations: 0.8548 MB / 0.62 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.926e-05/0.003169, allocations: 0 / 0.62 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.0032, allocations: 7.938 kB / 0.62 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.003289, allocations: 7.938 kB / 0.6201 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.003463, allocations: 23.91 kB / 0.6201 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.003569, allocations: 51.84 kB / 0.6201 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.003682, allocations: 7.984 kB / 0.6201 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.00378, allocations: 23.98 kB / 0.6202 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.003853, allocations: 23.91 kB / 0.6202 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.783e-05/0.003881, allocations: 11.92 kB / 0.6202 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.305e-05/0.003904, allocations: 4 kB / 0.6202 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.214e-05/0.003926, allocations: 7.984 kB / 0.6202 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.00396, allocations: 15.94 kB / 0.6202 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.004078, allocations: 47.91 kB / 0.6203 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.004084, allocations: 4 kB / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.004084, allocations: 0 / 0.6203 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.004089, allocations: 0 / 0.6203 GB, free: 2.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005785/0.004667, allocations: 282.2 kB / 0.6205 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.004718, allocations: 13.47 kB / 0.6205 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.004758, allocations: 4.891 kB / 0.6206 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004903, allocations: 109.8 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.004926, allocations: 8.375 kB / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.004943, allocations: 384 / 0.6207 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.005171, allocations: 78.14 kB / 0.6207 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.005183, allocations: 3.938 kB / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005195, allocations: 0 / 0.6207 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.005199, allocations: 3.938 kB / 0.6207 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.00542, allocations: 55.89 kB / 0.6208 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.005865, allocations: 224.5 kB / 0.621 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.006109, allocations: 70.41 kB / 0.6211 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.006245, allocations: 36.92 kB / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.006265, allocations: 0 / 0.6211 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.006297, allocations: 34.55 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.006298, allocations: 0 / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0004683/0.006767, allocations: 109.6 kB / 0.6213 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.006819, allocations: 55.41 kB / 0.6213 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.006927, allocations: 109.8 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.006957, allocations: 29.64 kB / 0.6214 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.007025, allocations: 96.03 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.007045, allocations: 3.953 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.007091, allocations: 21.7 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.00725, allocations: 314.8 kB / 0.6219 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.007368, allocations: 27.97 kB / 0.6219 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.007463, allocations: 19.98 kB / 0.6219 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.007665, allocations: 52.81 kB / 0.622 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.007669, allocations: 3.938 kB / 0.622 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002553/0.007924, allocations: 89.59 kB / 0.622 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.00794, allocations: 8 kB / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.007945, allocations: 0 / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.00796, allocations: 0 / 0.6221 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/0.008092, allocations: 15.92 kB / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.008097, allocations: 0 / 0.6221 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.008167, allocations: 11.98 kB / 0.6221 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.008176, allocations: 4 kB / 0.6221 GB, free: 0.8359 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001992/0.008376, allocations: 114.8 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.008403, allocations: 4 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.008439, allocations: 11.98 kB / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.008441, allocations: 0 / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.008445, allocations: 0 / 0.6222 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.00845, allocations: 7.938 kB / 0.6222 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.008613, allocations: 109.3 kB / 0.6223 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.008617, allocations: 3.938 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.008709, allocations: 15.98 kB / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.00871, allocations: 0 / 0.6223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.008723, allocations: 4 kB / 0.6223 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.008726, allocations: 8 kB / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008727, allocations: 0 / 0.6223 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.009044, allocations: 183.4 kB / 0.6225 GB, free: 324 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.009059, allocations: 7.938 kB / 0.6225 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.009074, allocations: 3.938 kB / 0.6225 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.891e-05/0.009173, allocations: 11.98 kB / 0.6225 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.009235, allocations: 11.98 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.009241, allocations: 0 / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.633e-05/0.009297, allocations: 87.27 kB / 0.6226 GB, free: 200 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009297, allocations: 4 kB / 0.6226 GB, free: 196 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002193/0.009517, allocations: 7.953 kB / 0.6227 GB, free: 188 kB / 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000128/0.009645, allocations: 95.25 kB / 0.6227 GB, free: 84 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002782/0.009923, allocations: 60.25 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.009924, allocations: 4 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.01007, allocations: 32.06 kB / 0.6228 GB, free: 15.99 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.0104, allocations: 10.53 kB / 0.6228 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.01079, allocations: 132.9 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.282e-05/0.01086, allocations: 67.33 kB / 0.623 GB, free: 15.74 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.061e-05/0.0109, allocations: 8 kB / 0.623 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.626e-05/0.01095, allocations: 12.5 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01095, allocations: 0 / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of Templates: time 0.003748/0.0147, allocations: 0.9396 MB / 0.624 GB, free: 14.8 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875764951109886] Failed to read output from testmodel.py, exit status != 0: 0.02345920354127884 0.038554965000000004 0.031340824 Calling exit ...