Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001529/0.001529, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0017/0.0017, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9678/0.9678, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.8095/0.8095, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 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 179] 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5219 GB, free: 1.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.374e-05, allocations: 4.562 kB / 0.522 GB, free: 1.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001803/0.001827, allocations: 0.6948 MB / 0.5226 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00418/0.006007, allocations: 0.849 MB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.198e-05/0.006049, allocations: 1.469 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.006078, allocations: 3.938 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.963e-05/0.006158, allocations: 16.62 kB / 0.5235 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 6.311e-05/0.006221, allocations: 11.98 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.006299, allocations: 40.36 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.006395, allocations: 13.02 kB / 0.5235 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.006476, allocations: 19.98 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.006518, allocations: 15.92 kB / 0.5236 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.006536, allocations: 5.125 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.006545, allocations: 4 kB / 0.5236 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.006567, allocations: 11.97 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.24e-05/0.00659, allocations: 12.56 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 8.104e-05/0.006671, allocations: 33.44 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006673, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.31e-07/0.006674, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.006677, allocations: 0 / 0.5236 GB, free: 15.79 MB / 0.4948 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.000378/0.007055, allocations: 378.4 kB / 0.524 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.00709, allocations: 8.031 kB / 0.524 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.007121, allocations: 12.88 kB / 0.524 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.168e-05/0.007213, allocations: 112.6 kB / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.007223, allocations: 384 / 0.5241 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.007233, allocations: 10.06 kB / 0.5241 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.007373, allocations: 62.94 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.00738, allocations: 192 / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.007388, allocations: 384 / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.007393, allocations: 1.125 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.007423, allocations: 7.938 kB / 0.5242 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.007694, allocations: 253.7 kB / 0.5245 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.0108, allocations: 43.05 kB / 0.5245 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.01083, allocations: 13.03 kB / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.01083, allocations: 0 / 0.5245 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.01086, allocations: 37.39 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.01086, allocations: 0 / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001418/0.011, allocations: 47.28 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.01103, allocations: 55.34 kB / 0.5246 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.342e-05/0.01112, allocations: 169.9 kB / 0.5248 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.01113, allocations: 25.7 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.173e-05/0.01118, allocations: 141.2 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.0112, allocations: 7.938 kB / 0.525 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.01124, allocations: 23.38 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01137, allocations: 496.1 kB / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.01139, allocations: 0 / 0.5255 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.0114, allocations: 7.984 kB / 0.5255 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.01144, allocations: 11.69 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01144, allocations: 0.5625 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.999e-05/0.01152, allocations: 50.16 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01153, allocations: 4 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01154, allocations: 4.859 kB / 0.5255 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.01155, allocations: 3.938 kB / 0.5255 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.951e-05/0.01164, allocations: 9.531 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.01164, allocations: 0 / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.01167, allocations: 11.98 kB / 0.5256 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.01168, allocations: 0.9375 kB / 0.5256 GB, free: 13.63 MB / 0.4948 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 6.805e-05/0.01175, allocations: 152.6 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.01178, allocations: 11.25 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.155e-05/0.0118, allocations: 8 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0118, allocations: 3.938 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.0118, allocations: 0 / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01181, allocations: 4 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.01193, allocations: 101.2 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01193, allocations: 0 / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.01199, allocations: 15.98 kB / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.01199, allocations: 0 / 0.5258 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-06/0.012, allocations: 6.969 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.012, allocations: 0 / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.012, allocations: 0 / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.01213, allocations: 200.1 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.01214, allocations: 3.984 kB / 0.526 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.01215, allocations: 3.984 kB / 0.5261 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.136e-05/0.01222, allocations: 11.98 kB / 0.5261 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.01225, allocations: 7.938 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01226, allocations: 1.5 kB / 0.5261 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.0123, allocations: 127.5 kB / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.0123, allocations: 0 / 0.5262 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002324/0.01254, allocations: 8 kB / 0.5262 GB, free: 12.93 MB / 0.4948 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 8.756e-05/0.01262, allocations: 98.12 kB / 0.5263 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.138e-05/0.01271, allocations: 23.61 kB / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01271, allocations: 0 / 0.5263 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.569e-05/0.01273, allocations: 11.69 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.013, allocations: 12.94 kB / 0.5263 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.01325, allocations: 138.2 kB / 0.5265 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.511e-05/0.01329, allocations: 55.36 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.63e-05/0.01331, allocations: 5.859 kB / 0.5265 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.01337, allocations: 74.2 kB / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.01337, allocations: 0 / 0.5266 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.005737/0.01911, allocations: 0.815 MB / 0.5274 GB, free: 11.68 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.795678084716201]