Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.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.001434/0.001434, allocations: 73.88 kB / 20.65 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.001437/0.001437, allocations: 169 kB / 24.06 MB, free: 452 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 1.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.152 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.8465/0.8465, allocations: 154.9 MB / 415.9 MB, free: 204 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5219 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.987e-05, allocations: 2.312 kB / 0.522 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001253/0.001273, allocations: 0.6867 MB / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.002049, allocations: 0.8477 MB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.002085, allocations: 0 / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.002112, allocations: 3.938 kB / 0.5235 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.002175, allocations: 10.59 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.395e-05/0.002229, allocations: 11.98 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.002301, allocations: 51.78 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.002393, allocations: 5.562 kB / 0.5235 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.002466, allocations: 27.95 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.625e-05/0.002502, allocations: 19.92 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.002517, allocations: 4 kB / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-06/0.002522, allocations: 0 / 0.5236 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.002543, allocations: 8.75 kB / 0.5236 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.002563, allocations: 15.92 kB / 0.5236 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 6.885e-05/0.002632, allocations: 25.38 kB / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002634, allocations: 0 / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002634, allocations: 0 / 0.5236 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002638, allocations: 0 / 0.5236 GB, free: 15.75 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.0003124/0.00295, allocations: 377.9 kB / 0.524 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.002984, allocations: 12.03 kB / 0.524 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.003008, allocations: 8.875 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.957e-05/0.003088, allocations: 113.6 kB / 0.5241 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.003098, allocations: 4.375 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.982e-06/0.003104, allocations: 7.281 kB / 0.5241 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.003205, allocations: 66.88 kB / 0.5242 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.003211, allocations: 4.125 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.003218, allocations: 4.359 kB / 0.5242 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.003224, allocations: 4.375 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.003243, allocations: 7.938 kB / 0.5242 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.00346, allocations: 244.4 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.003519, allocations: 35.55 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.003539, allocations: 12.34 kB / 0.5245 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.003548, allocations: 8.828 kB / 0.5245 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.003568, allocations: 33.39 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.003569, allocations: 0.5 kB / 0.5245 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001119/0.00368, allocations: 45.64 kB / 0.5246 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.003714, allocations: 56.89 kB / 0.5246 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.003786, allocations: 169.8 kB / 0.5248 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.003799, allocations: 25.7 kB / 0.5248 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.003851, allocations: 138.8 kB / 0.5249 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.003869, allocations: 4.891 kB / 0.525 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.003899, allocations: 23.36 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.004029, allocations: 497.5 kB / 0.5254 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.269e-05/0.004042, allocations: 4 kB / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-06/0.004052, allocations: 0 / 0.5255 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.004078, allocations: 19.69 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.00408, allocations: 1.156 kB / 0.5255 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.503e-05/0.004135, allocations: 45.64 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.004148, allocations: 5.562 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.004153, allocations: 4.688 kB / 0.5255 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.004162, allocations: 7.875 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.004223, allocations: 13.27 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.004226, allocations: 0 / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.004253, allocations: 9.344 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.004258, allocations: 0 / 0.5256 GB, free: 13.59 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.993e-05/0.004328, allocations: 152.6 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.004344, allocations: 7.328 kB / 0.5257 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.447e-05/0.004369, allocations: 11.98 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.004373, allocations: 7.938 kB / 0.5257 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.004375, allocations: 3.984 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004378, allocations: 0 / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.987e-05/0.004478, allocations: 105.2 kB / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.004479, allocations: 0 / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.635e-05/0.004506, allocations: 8 kB / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.004506, allocations: 2.75 kB / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.00451, allocations: 0 / 0.5258 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004511, allocations: 4 kB / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.004512, allocations: 0 / 0.5258 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.004621, allocations: 199.8 kB / 0.526 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-06/0.004627, allocations: 3.938 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.004637, allocations: 3.984 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.501e-05/0.004672, allocations: 4.531 kB / 0.526 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.004702, allocations: 15.92 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.004704, allocations: 1.312 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.004739, allocations: 127.2 kB / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004739, allocations: 0 / 0.5262 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001318/0.004871, allocations: 8.562 kB / 0.5262 GB, free: 12.89 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.264e-05/0.004944, allocations: 96.23 kB / 0.5263 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.424e-05/0.005008, allocations: 15.69 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.71e-07/0.005009, allocations: 5.75 kB / 0.5263 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.876e-05/0.005028, allocations: 15.67 kB / 0.5263 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.005201, allocations: 15.06 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.005428, allocations: 132.6 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.227e-05/0.00548, allocations: 59.34 kB / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.005498, allocations: 0 / 0.5265 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.005546, allocations: 72.64 kB / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.005547, allocations: 0 / 0.5266 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.002063/0.00761, allocations: 0.818 MB / 0.5274 GB, free: 11.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9545724410563707]