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.0008768/0.0008768, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009023/0.0009023, allocations: 169 kB / 23.02 MB, free: 1.543 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.9789/0.9789, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.8243/0.8243, allocations: 154.9 MB / 414.8 MB, free: 380 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.743e-06/1.743e-06, allocations: 0 / 0.5208 GB, free: 1.742 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.666e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.738 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001052/0.001068, allocations: 0.6917 MB / 0.5214 GB, free: 1.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.00178, allocations: 0.8511 MB / 0.5223 GB, free: 212 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.001813, allocations: 4 kB / 0.5223 GB, free: 208 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.001841, allocations: 4.875 kB / 0.5223 GB, free: 204 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.266e-05/0.001904, allocations: 3.938 kB / 0.5223 GB, free: 200 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.67e-05/0.001961, allocations: 9.047 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.002032, allocations: 47.86 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.002116, allocations: 7.984 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.002186, allocations: 25.42 kB / 0.5224 GB, free: 112 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.152e-05/0.002218, allocations: 19.97 kB / 0.5224 GB, free: 92 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.002234, allocations: 4 kB / 0.5224 GB, free: 88 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.002241, allocations: 4 kB / 0.5224 GB, free: 84 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.002257, allocations: 12.73 kB / 0.5224 GB, free: 72 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.002277, allocations: 11.98 kB / 0.5224 GB, free: 60 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.487e-05/0.002342, allocations: 29.12 kB / 0.5224 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002344, allocations: 0 / 0.5224 GB, free: 32 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.71e-07/0.002344, allocations: 0 / 0.5224 GB, free: 32 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.002347, allocations: 0 / 0.5224 GB, free: 32 kB / 490.7 MB 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.000299/0.002646, allocations: 373.9 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.002677, allocations: 15.97 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.002704, allocations: 9.672 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.744e-05/0.002771, allocations: 112.6 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.00278, allocations: 6.031 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.002789, allocations: 4.359 kB / 0.5229 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.002897, allocations: 62.94 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.002903, allocations: 4.188 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.00291, allocations: 2.625 kB / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.002916, allocations: 384 / 0.523 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.806e-05/0.002944, allocations: 11.92 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002371/0.003181, allocations: 267.7 kB / 0.5233 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.494e-05/0.003246, allocations: 35.06 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.731e-05/0.003273, allocations: 16.27 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.003282, allocations: 5.469 kB / 0.5233 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.003302, allocations: 37.39 kB / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.003303, allocations: 0 / 0.5234 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001285/0.003431, allocations: 49.56 kB / 0.5234 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.003458, allocations: 52.38 kB / 0.5235 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.003539, allocations: 177.9 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.003549, allocations: 25.7 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.003591, allocations: 131.8 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.003609, allocations: 11.95 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.003632, allocations: 16.31 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.003749, allocations: 0.4923 MB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.003763, allocations: 0 / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.003776, allocations: 4.5 kB / 0.5243 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.255e-05/0.003809, allocations: 20.31 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00381, allocations: 3.938 kB / 0.5243 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.349e-05/0.003864, allocations: 46.86 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.003877, allocations: 7.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.003881, allocations: 0 / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.003895, allocations: 8.625 kB / 0.5244 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.85e-05/0.003963, allocations: 11.98 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.003968, allocations: 1.812 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.088e-05/0.003989, allocations: 4 kB / 0.5244 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.003996, allocations: 4 kB / 0.5244 GB, free: 13.83 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.079e-05/0.004057, allocations: 158.3 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.00407, allocations: 4 kB / 0.5246 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.004094, allocations: 11.94 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.004095, allocations: 336 / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-06/0.004098, allocations: 4 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.004101, allocations: 1.281 kB / 0.5246 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.061e-05/0.004191, allocations: 116.6 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.004192, allocations: 0 / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/0.004218, allocations: 22.34 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.00422, allocations: 4 kB / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.004226, allocations: 0 / 0.5247 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.004228, allocations: 3.938 kB / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004228, allocations: 0 / 0.5247 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.766e-05/0.004326, allocations: 191.9 kB / 0.5249 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.763e-06/0.004333, allocations: 7.938 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.004342, allocations: 2.969 kB / 0.5249 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.503e-05/0.004377, allocations: 11.92 kB / 0.5249 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.004419, allocations: 4 kB / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.004421, allocations: 0 / 0.5249 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.00446, allocations: 131.2 kB / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004461, allocations: 0 / 0.525 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000131/0.004591, allocations: 8 kB / 0.5251 GB, free: 13.11 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 7.097e-05/0.004662, allocations: 101.2 kB / 0.5251 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.00475, allocations: 19.67 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.004751, allocations: 0 / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.004772, allocations: 11.69 kB / 0.5252 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.004948, allocations: 18.53 kB / 0.5252 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.005224, allocations: 130.2 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.485e-05/0.005259, allocations: 59.3 kB / 0.5254 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.005279, allocations: 6.734 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.005307, allocations: 8.5 kB / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.005308, allocations: 0 / 0.5254 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.002448/0.007756, allocations: 0.7884 MB / 0.5262 GB, free: 11.95 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.6970592960715294]