Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.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.0008326/0.0008326, allocations: 73.88 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.0009458/0.0009458, allocations: 173 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 0.9317/0.9317, allocations: 177.1 MB / 204.5 MB, free: 5.504 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-545:108: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-545:116: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.7461/0.7461, allocations: 154.6 MB / 415.6 MB, free: 0.5352 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.5216 GB, free: 1.855 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.439e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.852 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001086/0.0011, allocations: 0.6506 MB / 0.5222 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007557/0.001856, allocations: 0.8641 MB / 0.5231 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.001884, allocations: 0 / 0.5231 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.389e-05/0.001908, allocations: 7.922 kB / 0.5231 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.822e-05/0.001966, allocations: 0.75 kB / 0.5231 GB, free: 344 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.002106, allocations: 11.94 kB / 0.5231 GB, free: 332 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.677e-05/0.002163, allocations: 21.14 kB / 0.5231 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.068e-05/0.002234, allocations: 8 kB / 0.5231 GB, free: 304 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.002294, allocations: 23.84 kB / 0.5231 GB, free: 280 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.745e-05/0.002321, allocations: 5.234 kB / 0.5232 GB, free: 276 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.002333, allocations: 4 kB / 0.5232 GB, free: 272 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.705e-05/0.00237, allocations: 8 kB / 0.5232 GB, free: 264 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.002381, allocations: 0 / 0.5232 GB, free: 264 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.002395, allocations: 10.28 kB / 0.5232 GB, free: 256 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 7.483e-05/0.00247, allocations: 19.91 kB / 0.5232 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.002471, allocations: 0 / 0.5232 GB, free: 236 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.002472, allocations: 0 / 0.5232 GB, free: 236 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.002475, allocations: 0 / 0.5232 GB, free: 236 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002656/0.002741, allocations: 360.6 kB / 0.5235 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.002772, allocations: 13.75 kB / 0.5236 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.002842, allocations: 4.891 kB / 0.5236 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.584e-05/0.002907, allocations: 112.6 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.825e-06/0.002915, allocations: 384 / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-06/0.00292, allocations: 0.9375 kB / 0.5237 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.078e-05/0.003001, allocations: 58.89 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.01e-06/0.003006, allocations: 1.094 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-06/0.003011, allocations: 384 / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.003015, allocations: 5.469 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.003032, allocations: 3.938 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.003216, allocations: 228.4 kB / 0.5239 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.928e-05/0.003255, allocations: 31.88 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.26e-05/0.003268, allocations: 16.77 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.003279, allocations: 3.938 kB / 0.524 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.003295, allocations: 33.39 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 5.11e-07/0.003295, allocations: 1.5 kB / 0.524 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 9.434e-05/0.00339, allocations: 45.59 kB / 0.5241 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.003414, allocations: 59.39 kB / 0.5241 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.003467, allocations: 155.1 kB / 0.5243 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.003475, allocations: 25.7 kB / 0.5243 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.003509, allocations: 130.9 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.003523, allocations: 4.641 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.003545, allocations: 23.36 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.003645, allocations: 497.4 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.003656, allocations: 11.94 kB / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.021e-06/0.003662, allocations: 0 / 0.5249 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.813e-05/0.003681, allocations: 12.81 kB / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.003682, allocations: 0 / 0.525 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.154e-05/0.003724, allocations: 42.41 kB / 0.525 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.003733, allocations: 4 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.003737, allocations: 0.8438 kB / 0.525 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.573e-06/0.003743, allocations: 7.938 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.003783, allocations: 4.5 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.003786, allocations: 2.875 kB / 0.525 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.003802, allocations: 7.984 kB / 0.525 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.003805, allocations: 3.938 kB / 0.525 GB, free: 14.17 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 (2): * Single equations (assignments): 2 * 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.123e-05/0.003856, allocations: 156.6 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.003871, allocations: 4 kB / 0.5252 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.003924, allocations: 40.59 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.003927, allocations: 6.969 kB / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.003928, allocations: 0 / 0.5252 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/0.003931, allocations: 4 kB / 0.5252 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.201e-05/0.004013, allocations: 101.2 kB / 0.5253 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.004014, allocations: 4 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.785e-05/0.004031, allocations: 7.984 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.004032, allocations: 0 / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-06/0.004035, allocations: 0 / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004036, allocations: 1.5 kB / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004037, allocations: 0 / 0.5253 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.476e-05/0.004111, allocations: 191.8 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.1e-06/0.004116, allocations: 3.938 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-06/0.004123, allocations: 0.5 kB / 0.5255 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.939e-05/0.004152, allocations: 8.969 kB / 0.5255 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.004175, allocations: 3.984 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.004177, allocations: 4.781 kB / 0.5255 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.027e-05/0.004208, allocations: 123.2 kB / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004208, allocations: 0 / 0.5257 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001291/0.004337, allocations: 7.062 kB / 0.5257 GB, free: 13.46 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 (2): * Single equations (assignments): 2 * 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 5.418e-05/0.004391, allocations: 94.12 kB / 0.5258 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.232e-05/0.004443, allocations: 19.61 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.004444, allocations: 4 kB / 0.5258 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.004457, allocations: 7.688 kB / 0.5258 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.004613, allocations: 10.44 kB / 0.5258 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001696/0.004783, allocations: 118.3 kB / 0.5259 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.661e-05/0.004809, allocations: 59.23 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.004823, allocations: 5.25 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.004859, allocations: 70.19 kB / 0.526 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/0.004859, allocations: 0 / 0.526 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.001641/0.0065, allocations: 0.5265 MB / 0.5265 GB, free: 12.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5006855679675937]