Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009696/0.0009696, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001147/0.001147, allocations: 173 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 1.037/1.037, 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 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.7917/0.7917, allocations: 154.9 MB / 415.9 MB, free: 268 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.Exp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0.7656 kB / 0.522 GB, free: 1.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.262e-05, allocations: 2.312 kB / 0.522 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001124/0.001137, allocations: 0.6532 MB / 0.5226 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.001922, allocations: 0.8625 MB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.001949, allocations: 0 / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.001969, allocations: 3.938 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 4.047e-05/0.00201, allocations: 2.156 kB / 0.5234 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 9.57e-05/0.002105, allocations: 15.88 kB / 0.5235 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.002152, allocations: 27.92 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.002206, allocations: 3.984 kB / 0.5235 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.829e-05/0.002254, allocations: 19.92 kB / 0.5235 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 2.209e-05/0.002276, allocations: 7.984 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.002286, allocations: 0.5625 kB / 0.5235 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.035e-05/0.002316, allocations: 9 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.002329, allocations: 4 kB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 9.478e-06/0.002338, allocations: 0 / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 6.627e-05/0.002404, allocations: 32.55 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.272e-06/0.002406, allocations: 0 / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.81e-07/0.002406, allocations: 1.219 kB / 0.5236 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.002409, allocations: 0 / 0.5236 GB, free: 15.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002221/0.002631, allocations: 352.6 kB / 0.5239 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.428e-05/0.002655, allocations: 8.969 kB / 0.5239 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.002718, allocations: 12.89 kB / 0.5239 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.67e-05/0.002775, allocations: 110.1 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.323e-06/0.002782, allocations: 4.375 kB / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-06/0.002786, allocations: 384 / 0.524 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.477e-05/0.002851, allocations: 54.89 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-06/0.002856, allocations: 1.219 kB / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-06/0.00286, allocations: 384 / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-06/0.002864, allocations: 384 / 0.5241 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.726e-05/0.002881, allocations: 8.625 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.003037, allocations: 232.5 kB / 0.5243 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.735e-05/0.003075, allocations: 36.28 kB / 0.5243 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.214e-05/0.003087, allocations: 7.688 kB / 0.5244 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.003097, allocations: 4.672 kB / 0.5244 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.003114, allocations: 37.45 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.003114, allocations: 0.9062 kB / 0.5244 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 7.948e-05/0.003194, allocations: 45.58 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.003216, allocations: 52.03 kB / 0.5245 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.003276, allocations: 162.8 kB / 0.5246 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.003288, allocations: 25.7 kB / 0.5247 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.003326, allocations: 134.8 kB / 0.5248 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.003339, allocations: 10.06 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.003359, allocations: 15.38 kB / 0.5248 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.003467, allocations: 496.1 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.003474, allocations: 3.938 kB / 0.5253 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-06/0.003481, allocations: 4 kB / 0.5253 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.0035, allocations: 22.92 kB / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.003501, allocations: 0 / 0.5253 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.823e-05/0.003539, allocations: 37.69 kB / 0.5254 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.003552, allocations: 4 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.003556, allocations: 0 / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.003561, allocations: 3.938 kB / 0.5254 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.624e-05/0.003597, allocations: 7.938 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.003599, allocations: 3.031 kB / 0.5254 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/0.003616, allocations: 7.984 kB / 0.5254 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-06/0.003618, allocations: 0 / 0.5254 GB, free: 13.8 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.16e-05/0.003669, allocations: 156.6 kB / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.003683, allocations: 0 / 0.5255 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.003739, allocations: 45 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.00374, allocations: 3.938 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.003742, allocations: 1.5 kB / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.003744, allocations: 0 / 0.5256 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.552e-05/0.003819, allocations: 97.27 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.003821, allocations: 3.984 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.638e-05/0.003837, allocations: 4.5 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.003838, allocations: 1.031 kB / 0.5257 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.003843, allocations: 4 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.003844, allocations: 3.938 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.003845, allocations: 0.7812 kB / 0.5257 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.231e-05/0.003927, allocations: 192.5 kB / 0.5259 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-06/0.003933, allocations: 7.938 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-06/0.003939, allocations: 0.5 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.812e-05/0.003967, allocations: 2.75 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.003986, allocations: 7.984 kB / 0.5259 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.003988, allocations: 3.938 kB / 0.5259 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.004019, allocations: 127.2 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004019, allocations: 0 / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000129/0.004148, allocations: 4 kB / 0.526 GB, free: 13.09 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.451e-05/0.004202, allocations: 93.69 kB / 0.5261 GB, free: 13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.445e-05/0.004247, allocations: 23.59 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.004248, allocations: 3.938 kB / 0.5261 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.004261, allocations: 11.69 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.004405, allocations: 5.5 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001647/0.004569, allocations: 110.3 kB / 0.5263 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.96e-05/0.004599, allocations: 59.3 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.415e-05/0.004613, allocations: 5.016 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.004653, allocations: 71.3 kB / 0.5264 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.004654, allocations: 0 / 0.5264 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of Templates: time 0.001577/0.00623, allocations: 0.5215 MB / 0.5269 GB, free: 12.16 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.808906401041895]