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.002214/0.002214, allocations: 93.47 kB / 19.44 MB, free: 336 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.002599/0.002599, allocations: 173.2 kB / 22.76 MB, free: 1.66 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 1.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.27 MB / 186.7 MB " [Timeout remaining time 178] 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 1.351/1.351, allocations: 154.8 MB / 414.4 MB, free: 404 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 178] 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 2.955e-06/2.955e-06, allocations: 3.938 kB / 0.5199 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.983e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.062 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002636/0.002666, allocations: 0.6579 MB / 0.5206 GB, free: 1.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.00436, allocations: 0.841 MB / 0.5214 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.766e-05/0.004397, allocations: 0 / 0.5214 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.308e-05/0.00442, allocations: 0 / 0.5214 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.502e-05/0.004505, allocations: 8.703 kB / 0.5214 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.004695, allocations: 11.98 kB / 0.5214 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.268e-05/0.004787, allocations: 24.58 kB / 0.5214 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004891, allocations: 4 kB / 0.5214 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.004991, allocations: 23.27 kB / 0.5214 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.005036, allocations: 7.984 kB / 0.5215 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.005053, allocations: 0 / 0.5215 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.954e-05/0.005102, allocations: 7.938 kB / 0.5215 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.005126, allocations: 7.984 kB / 0.5215 GB, free: 500 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.00515, allocations: 4 kB / 0.5215 GB, free: 496 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.005278, allocations: 27.89 kB / 0.5215 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.00528, allocations: 0 / 0.5215 GB, free: 468 kB / 490.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.005285, allocations: 4 kB / 0.5215 GB, free: 464 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.00529, allocations: 4.688 kB / 0.5215 GB, free: 460 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.0006309/0.00592, allocations: 352.4 kB / 0.5218 GB, free: 68 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.005967, allocations: 8.594 kB / 0.5219 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.006109, allocations: 9.828 kB / 0.5219 GB, free: 52 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.006294, allocations: 112.5 kB / 0.522 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.00632, allocations: 12.36 kB / 0.522 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.00633, allocations: 1.969 kB / 0.522 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.006517, allocations: 38.25 kB / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.006527, allocations: 192 / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.006542, allocations: 4.375 kB / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.289e-06/0.006546, allocations: 1.312 kB / 0.522 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.006727, allocations: 25.92 kB / 0.5221 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004864/0.007213, allocations: 247.8 kB / 0.5223 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.007373, allocations: 43.09 kB / 0.5223 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.007469, allocations: 19.73 kB / 0.5223 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.007498, allocations: 4.656 kB / 0.5224 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.007548, allocations: 33.39 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.007549, allocations: 0.625 kB / 0.5224 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0004246/0.007973, allocations: 78.78 kB / 0.5225 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.00803, allocations: 51.41 kB / 0.5225 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.008207, allocations: 163.4 kB / 0.5227 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.008233, allocations: 25.7 kB / 0.5227 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.008345, allocations: 130.9 kB / 0.5228 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.008368, allocations: 3.953 kB / 0.5228 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.008429, allocations: 28.09 kB / 0.5228 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003614/0.008791, allocations: 492.1 kB / 0.5233 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.545e-05/0.008876, allocations: 16.86 kB / 0.5233 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.008949, allocations: 11.03 kB / 0.5233 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.009113, allocations: 27.67 kB / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009115, allocations: 0 / 0.5234 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000237/0.009352, allocations: 61.61 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.00937, allocations: 4 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.009377, allocations: 3.938 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.009395, allocations: 0.5 kB / 0.5234 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.009494, allocations: 9.094 kB / 0.5234 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.009499, allocations: 0 / 0.5234 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.144e-05/0.009551, allocations: 4.5 kB / 0.5234 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.009568, allocations: 7.984 kB / 0.5235 GB, free: 14.27 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 0.0001505/0.009718, allocations: 157.5 kB / 0.5236 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.009758, allocations: 0 / 0.5236 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.01002, allocations: 69.8 kB / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.01002, allocations: 0.7188 kB / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01003, allocations: 0 / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01003, allocations: 0.9688 kB / 0.5237 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.01027, allocations: 116.6 kB / 0.5238 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01027, allocations: 0 / 0.5238 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.01034, allocations: 13.2 kB / 0.5238 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01035, allocations: 0 / 0.5238 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.01035, allocations: 0 / 0.5238 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.069e-06/0.01036, allocations: 4.562 kB / 0.5238 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01036, allocations: 0 / 0.5238 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.01071, allocations: 209.6 kB / 0.524 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.273e-06/0.01072, allocations: 192 / 0.524 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01074, allocations: 7.938 kB / 0.524 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.01084, allocations: 7.156 kB / 0.524 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.0109, allocations: 11.97 kB / 0.524 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.0109, allocations: 0 / 0.524 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000106/0.01101, allocations: 127.2 kB / 0.5241 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01101, allocations: 0 / 0.5241 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004009/0.01141, allocations: 4 kB / 0.5242 GB, free: 13.49 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 0.0001539/0.01156, allocations: 95.19 kB / 0.5242 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.01179, allocations: 34.8 kB / 0.5243 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01179, allocations: 0 / 0.5243 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.0119, allocations: 23.67 kB / 0.5243 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004/0.0123, allocations: 9.219 kB / 0.5243 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.0127, allocations: 126.2 kB / 0.5244 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.54e-05/0.01279, allocations: 61.16 kB / 0.5245 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.749e-05/0.01282, allocations: 0 / 0.5245 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.01287, allocations: 12.5 kB / 0.5245 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01287, allocations: 1.656 kB / 0.5245 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.003196/0.01607, allocations: 471.1 kB / 0.5249 GB, free: 12.63 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: 6.069368610042147]