Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.0007371/0.0007371, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000785/0.000785, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8702/0.8702, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6932/0.6932, allocations: 154.6 MB / 414.5 MB, free: 0.7812 MB / 378.7 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 179] 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.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.6194 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/3.018e-05, allocations: 5.344 kB / 0.6194 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001279/0.001309, allocations: 0.6833 MB / 0.6201 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007423/0.002052, allocations: 0.8315 MB / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.523e-05/0.002087, allocations: 0 / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.002115, allocations: 0 / 0.6209 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-05/0.002175, allocations: 11.88 kB / 0.6209 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.104e-05/0.002236, allocations: 11.98 kB / 0.6209 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.002313, allocations: 47.84 kB / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.002419, allocations: 7.984 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.071e-05/0.00249, allocations: 23.98 kB / 0.621 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.002526, allocations: 15.91 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.00255, allocations: 4 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.742e-06/0.002557, allocations: 4 kB / 0.621 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.446e-05/0.002571, allocations: 4 kB / 0.621 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.002595, allocations: 23.86 kB / 0.621 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.241e-05/0.002677, allocations: 35.92 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00268, allocations: 4 kB / 0.6211 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.746e-06/0.002683, allocations: 11.94 kB / 0.6211 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.002687, allocations: 0 / 0.6211 GB, free: 11.19 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003653/0.003053, allocations: 286.2 kB / 0.6214 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.003089, allocations: 8.031 kB / 0.6214 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.003119, allocations: 8.891 kB / 0.6214 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.97e-05/0.003199, allocations: 101.8 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.003209, allocations: 4.375 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.00322, allocations: 4.375 kB / 0.6215 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.00338, allocations: 74.2 kB / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.003388, allocations: 192 / 0.6216 GB, free: 10.65 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003398, allocations: 4.375 kB / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.003402, allocations: 384 / 0.6216 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.00354, allocations: 63.88 kB / 0.6216 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.003806, allocations: 216.5 kB / 0.6218 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.003919, allocations: 54.55 kB / 0.6219 GB, free: 10.28 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.839e-05/0.003998, allocations: 40.91 kB / 0.6219 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.004009, allocations: 4 kB / 0.6219 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004028, allocations: 30.56 kB / 0.6219 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.004028, allocations: 0 / 0.6219 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0003045/0.004333, allocations: 137.5 kB / 0.6221 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.004363, allocations: 55.41 kB / 0.6221 GB, free: 9.984 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.938e-05/0.004422, allocations: 105.8 kB / 0.6222 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.004432, allocations: 25.7 kB / 0.6223 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.004467, allocations: 92.09 kB / 0.6223 GB, free: 9.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.004485, allocations: 7.891 kB / 0.6224 GB, free: 9.738 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.004511, allocations: 17.72 kB / 0.6224 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.306e-05/0.004584, allocations: 314.8 kB / 0.6227 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.004656, allocations: 31.97 kB / 0.6227 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.517e-05/0.004721, allocations: 35.95 kB / 0.6227 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.004856, allocations: 69 kB / 0.6228 GB, free: 9.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.004858, allocations: 4 kB / 0.6228 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001596/0.005018, allocations: 97.61 kB / 0.6229 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.00503, allocations: 11.94 kB / 0.6229 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.005035, allocations: 0 / 0.6229 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.005047, allocations: 0 / 0.6229 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.098e-05/0.005128, allocations: 15.98 kB / 0.6229 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005133, allocations: 0 / 0.6229 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.615e-05/0.005169, allocations: 19.94 kB / 0.6229 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.005174, allocations: 4 kB / 0.6229 GB, free: 9.105 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 5.303e-05/0.005227, allocations: 110.8 kB / 0.6231 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.005242, allocations: 7.984 kB / 0.6231 GB, free: 8.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.005262, allocations: 11.94 kB / 0.6231 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005264, allocations: 0 / 0.6231 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.005268, allocations: 0 / 0.6231 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.00527, allocations: 0 / 0.6231 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.658e-05/0.005357, allocations: 113.3 kB / 0.6232 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005357, allocations: 0 / 0.6232 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.005399, allocations: 27.92 kB / 0.6232 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005401, allocations: 0 / 0.6232 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.005407, allocations: 3.938 kB / 0.6232 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.005409, allocations: 3.938 kB / 0.6232 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.00541, allocations: 0 / 0.6232 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.005843, allocations: 199.4 kB / 0.6234 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.005849, allocations: 4 kB / 0.6234 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-06/0.005859, allocations: 0 / 0.6234 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.896e-05/0.005908, allocations: 15.92 kB / 0.6234 GB, free: 8.559 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.005942, allocations: 7.984 kB / 0.6234 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.005945, allocations: 0 / 0.6234 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.005974, allocations: 87.27 kB / 0.6235 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005974, allocations: 4 kB / 0.6235 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001451/0.006119, allocations: 4 kB / 0.6235 GB, free: 8.457 MB / 0.5886 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 (3): * Single equations (assignments): 3 * 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 9.185e-05/0.006211, allocations: 99.19 kB / 0.6236 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.006392, allocations: 71.92 kB / 0.6237 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.006393, allocations: 0 / 0.6237 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.027e-05/0.006464, allocations: 31.97 kB / 0.6237 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.00668, allocations: 7.984 kB / 0.6237 GB, free: 8.238 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.00694, allocations: 150.6 kB / 0.6239 GB, free: 8.059 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.006984, allocations: 75.23 kB / 0.6239 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.007015, allocations: 8.5 kB / 0.6239 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of SimCode: time 8.82e-07/0.007016, allocations: 0 / 0.6239 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of Templates: time 0.001505/0.00852, allocations: 0.7694 MB / 0.6247 GB, free: 7.195 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.896719767712057] Failed to read output from testmodel.py, exit status != 0: 0.014020343311131 0.022017242000000003 0.017624634 Calling exit ...