Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.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.001684/0.001684, allocations: 78.48 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.001628/0.001628, allocations: 162.7 kB / 22.45 MB, free: 5.363 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.467/1.467, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.295/1.295, allocations: 154.7 MB / 413.9 MB, free: 5.109 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.514e-06/2.514e-06, allocations: 0 / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.881e-05, allocations: 6.938 kB / 0.6188 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Add): time 0.002367/0.002406, allocations: 0.7377 MB / 0.6195 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.003875, allocations: 0.8821 MB / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.003937, allocations: 0 / 0.6203 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.003984, allocations: 3.938 kB / 0.6203 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.004098, allocations: 15.88 kB / 0.6204 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.004327, allocations: 47.81 kB / 0.6204 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.004498, allocations: 83.83 kB / 0.6205 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.00465, allocations: 23.97 kB / 0.6205 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.004787, allocations: 51.89 kB / 0.6206 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.292e-05/0.00488, allocations: 39.83 kB / 0.6206 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.09e-05/0.004921, allocations: 8 kB / 0.6206 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.718e-05/0.004938, allocations: 8 kB / 0.6206 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.004976, allocations: 23.95 kB / 0.6206 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.005027, allocations: 23.92 kB / 0.6207 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.005221, allocations: 91.7 kB / 0.6207 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005223, allocations: 4 kB / 0.6207 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005224, allocations: 0 / 0.6207 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.005229, allocations: 0 / 0.6207 GB, free: 2.492 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.0007524/0.005982, allocations: 322 kB / 0.6211 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.006035, allocations: 8.031 kB / 0.6211 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.006088, allocations: 8.891 kB / 0.6211 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.006265, allocations: 129 kB / 0.6212 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.006287, allocations: 12.38 kB / 0.6212 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.00631, allocations: 4.375 kB / 0.6212 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.006623, allocations: 109.7 kB / 0.6213 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006635, allocations: 3.938 kB / 0.6213 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.006654, allocations: 7.984 kB / 0.6213 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.006658, allocations: 0 / 0.6213 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.00702, allocations: 91.91 kB / 0.6214 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.007572, allocations: 280.3 kB / 0.6217 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.008247, allocations: 114.6 kB / 0.6218 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001892/0.008436, allocations: 56.8 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.00846, allocations: 3.984 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.0085, allocations: 42.5 kB / 0.6219 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.008501, allocations: 0 / 0.6219 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006656/0.009167, allocations: 177.5 kB / 0.6221 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.009217, allocations: 55.41 kB / 0.6221 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.009346, allocations: 121.8 kB / 0.6222 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.009368, allocations: 25.7 kB / 0.6222 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.009428, allocations: 92.09 kB / 0.6223 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.009466, allocations: 27.77 kB / 0.6224 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.009575, allocations: 33.64 kB / 0.6224 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.009739, allocations: 322.8 kB / 0.6227 GB, free: 336 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.009929, allocations: 43.95 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.0101, allocations: 47.89 kB / 0.6228 GB, free: 244 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.01044, allocations: 100.8 kB / 0.6229 GB, free: 140 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01044, allocations: 0 / 0.6229 GB, free: 140 kB / 0.5294 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003849/0.01083, allocations: 133.6 kB / 0.623 GB, free: 0 / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.01086, allocations: 4.172 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.01086, allocations: 7.875 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01088, allocations: 0 / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.01105, allocations: 23.97 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.01106, allocations: 8 kB / 0.6231 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01117, allocations: 7.984 kB / 0.6231 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01118, allocations: 7.938 kB / 0.6231 GB, free: 15.94 MB / 0.545 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,add1.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.0001037/0.01128, allocations: 119.6 kB / 0.6232 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.01132, allocations: 7.953 kB / 0.6232 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.01135, allocations: 16.42 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.01135, allocations: 0 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01136, allocations: 0 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.01136, allocations: 0 / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.01154, allocations: 145.2 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.01154, allocations: 0 / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.01171, allocations: 23.97 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01171, allocations: 0 / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.01172, allocations: 0 / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.01172, allocations: 0 / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.01173, allocations: 4 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.01219, allocations: 243.3 kB / 0.6236 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.01221, allocations: 3.953 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.01223, allocations: 4 kB / 0.6236 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.01238, allocations: 15.97 kB / 0.6236 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.658e-05/0.01245, allocations: 23.97 kB / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.01246, allocations: 0 / 0.6237 GB, free: 15.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.156e-05/0.01253, allocations: 95.27 kB / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01253, allocations: 0 / 0.6237 GB, free: 15.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002298/0.01276, allocations: 19.94 kB / 0.6238 GB, free: 15.18 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 (add1.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.0001115/0.01287, allocations: 95.25 kB / 0.6239 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.01328, allocations: 104.5 kB / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01328, allocations: 0 / 0.624 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.01348, allocations: 59.95 kB / 0.624 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.01381, allocations: 27.84 kB / 0.624 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004479/0.01426, allocations: 169.8 kB / 0.6242 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.463e-05/0.01433, allocations: 75.33 kB / 0.6243 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.079e-05/0.01439, allocations: 11.98 kB / 0.6243 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.373e-05/0.01446, allocations: 20.5 kB / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.01446, allocations: 0 / 0.6243 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Templates: time 0.004648/0.0191, allocations: 1.705 MB / 0.626 GB, free: 12.9 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.93916380405426] Failed to read output from testmodel.py, exit status != 0: 0.02808893844485283 0.042553285 0.03428113 Calling exit ...