Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.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.0009818/0.0009818, allocations: 92.22 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.001328/0.001328, allocations: 173 kB / 23.03 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.9889/0.9889, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7922/0.7922, allocations: 154.9 MB / 414.8 MB, free: 376 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.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.199e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001432/0.001464, allocations: 0.6687 MB / 0.5214 GB, free: 1.113 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.002674, allocations: 0.8642 MB / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.00272, allocations: 0 / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.002766, allocations: 0 / 0.5222 GB, free: 244 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.876e-05/0.002865, allocations: 10.42 kB / 0.5223 GB, free: 236 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.003126, allocations: 19.86 kB / 0.5223 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003233, allocations: 23.92 kB / 0.5223 GB, free: 192 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.003358, allocations: 5.406 kB / 0.5223 GB, free: 188 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.00346, allocations: 15.98 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.428e-05/0.003505, allocations: 0 / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.003525, allocations: 4 kB / 0.5223 GB, free: 168 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.003587, allocations: 8.797 kB / 0.5223 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.003609, allocations: 11.92 kB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.003634, allocations: 8.875 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003764, allocations: 11.98 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003768, allocations: 1 kB / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003769, allocations: 0 / 0.5224 GB, free: 128 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.003775, allocations: 0 / 0.5224 GB, free: 128 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.0003744/0.00415, allocations: 365.2 kB / 0.5227 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.004187, allocations: 12.53 kB / 0.5227 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.004299, allocations: 8.891 kB / 0.5227 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.552e-05/0.004384, allocations: 105.7 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004396, allocations: 384 / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/0.004405, allocations: 4.375 kB / 0.5228 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.004528, allocations: 55.77 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.004537, allocations: 0.8125 kB / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.004547, allocations: 384 / 0.5229 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004555, allocations: 5 kB / 0.5229 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.004586, allocations: 11.92 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.004873, allocations: 252.9 kB / 0.5232 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.6e-05/0.004929, allocations: 27.06 kB / 0.5232 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.004949, allocations: 13.53 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.004967, allocations: 4.062 kB / 0.5232 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.004989, allocations: 33.39 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.004989, allocations: 0 / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001517/0.005141, allocations: 51.28 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.005178, allocations: 51.41 kB / 0.5233 GB, free: 15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.005254, allocations: 169.9 kB / 0.5235 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.005266, allocations: 25.7 kB / 0.5235 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.005308, allocations: 126.9 kB / 0.5236 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.005326, allocations: 8.641 kB / 0.5236 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.005354, allocations: 23.38 kB / 0.5237 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.005466, allocations: 497.5 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.00548, allocations: 4 kB / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.005488, allocations: 0 / 0.5241 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/0.005518, allocations: 17.03 kB / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.00552, allocations: 0 / 0.5242 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.007e-05/0.00557, allocations: 38.67 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.005585, allocations: 11.98 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.005592, allocations: 3.938 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.005605, allocations: 1.062 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.005673, allocations: 4 kB / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.005677, allocations: 0 / 0.5242 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.005694, allocations: 7.25 kB / 0.5242 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.005699, allocations: 0 / 0.5242 GB, free: 14.03 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 6.581e-05/0.005765, allocations: 160.6 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.005778, allocations: 4 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.125e-05/0.005859, allocations: 48.88 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005861, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.005865, allocations: 4 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.005868, allocations: 3.031 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.005955, allocations: 108.6 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005956, allocations: 0 / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.005979, allocations: 11.92 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005981, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.005987, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.005989, allocations: 3.938 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.00599, allocations: 4 kB / 0.5246 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.686e-05/0.006087, allocations: 189.4 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.006093, allocations: 4 kB / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.006102, allocations: 0 / 0.5247 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.00613, allocations: 7.875 kB / 0.5247 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.006172, allocations: 12.64 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-06/0.006174, allocations: 0.625 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.006211, allocations: 123.2 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006211, allocations: 0.5 kB / 0.5249 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001324/0.006343, allocations: 6.719 kB / 0.5249 GB, free: 13.29 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 7.58e-05/0.006419, allocations: 91.25 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.006509, allocations: 15.67 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.21e-07/0.00651, allocations: 0 / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.831e-05/0.006528, allocations: 15.69 kB / 0.525 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.006708, allocations: 6.438 kB / 0.525 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.007133, allocations: 130.2 kB / 0.5251 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.424e-05/0.007167, allocations: 55.34 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.007183, allocations: 1.531 kB / 0.5252 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.007209, allocations: 12.5 kB / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.00721, allocations: 0 / 0.5252 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.002167/0.009377, allocations: 495.8 kB / 0.5257 GB, free: 12.44 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.822217669803649]