Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.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.00122/0.00122, allocations: 93.06 kB / 19.65 MB, free: 280 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.001097/0.001097, allocations: 173 kB / 23.02 MB, free: 1.551 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.9338/0.9338, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7734/0.7734, allocations: 154.6 MB / 414.5 MB, free: 0.6875 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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0.7656 kB / 0.5204 GB, free: 2.195 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.412e-05/2.586e-05, allocations: 4 kB / 0.5204 GB, free: 2.191 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001201/0.001227, allocations: 0.6587 MB / 0.521 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.002036, allocations: 0.868 MB / 0.5219 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.002064, allocations: 0 / 0.5219 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.00209, allocations: 2.219 kB / 0.5219 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.002152, allocations: 7.922 kB / 0.5219 GB, free: 0.668 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002328, allocations: 19.86 kB / 0.5219 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.427e-05/0.002392, allocations: 23.94 kB / 0.5219 GB, free: 0.625 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.002473, allocations: 4.734 kB / 0.5219 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.525e-05/0.002538, allocations: 9.156 kB / 0.5219 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.002573, allocations: 15.92 kB / 0.522 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.002588, allocations: 4 kB / 0.522 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.299e-05/0.002631, allocations: 7.984 kB / 0.522 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.002645, allocations: 5.188 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.002662, allocations: 3.984 kB / 0.522 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.565e-05/0.002758, allocations: 19.98 kB / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.00276, allocations: 2.344 kB / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.002761, allocations: 0 / 0.522 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.002764, allocations: 0 / 0.522 GB, free: 0.5586 MB / 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.0003093/0.003074, allocations: 360.6 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.003108, allocations: 8.031 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.098e-05/0.003199, allocations: 12.88 kB / 0.5224 GB, free: 152 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.116e-05/0.00327, allocations: 114.2 kB / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.003279, allocations: 384 / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.003287, allocations: 384 / 0.5225 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.003405, allocations: 50.95 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.003411, allocations: 0.75 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.003422, allocations: 5.312 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.003428, allocations: 4.375 kB / 0.5225 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.003456, allocations: 7.922 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002617/0.003718, allocations: 241 kB / 0.5228 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.003769, allocations: 35 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.003788, allocations: 12.47 kB / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.003803, allocations: 0 / 0.5228 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.003823, allocations: 42.41 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003824, allocations: 0 / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001336/0.003957, allocations: 47.16 kB / 0.5229 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.003983, allocations: 55.34 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.939e-05/0.004053, allocations: 157.9 kB / 0.5231 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.377e-06/0.004062, allocations: 25.7 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.004101, allocations: 135.9 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.00412, allocations: 11.88 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.004145, allocations: 19.38 kB / 0.5233 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004249, allocations: 496.8 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.004263, allocations: 3.984 kB / 0.5238 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.025e-05/0.004273, allocations: 5.281 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.004299, allocations: 11.69 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.004301, allocations: 1.188 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.957e-05/0.00435, allocations: 45.64 kB / 0.5238 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.004362, allocations: 4.781 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.004367, allocations: 3.938 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004378, allocations: 0.8438 kB / 0.5238 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.00444, allocations: 11.98 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.004445, allocations: 0.5625 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.00446, allocations: 3.938 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.004465, allocations: 6.812 kB / 0.5239 GB, free: 14.46 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.241e-05/0.004527, allocations: 152.6 kB / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.004539, allocations: 0 / 0.524 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.934e-05/0.004628, allocations: 52.53 kB / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.00463, allocations: 192 / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.004633, allocations: 0 / 0.5241 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.004641, allocations: 15 kB / 0.5241 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.061e-05/0.004731, allocations: 116.6 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.004733, allocations: 0 / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.004755, allocations: 11.92 kB / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.004757, allocations: 0 / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.004763, allocations: 0 / 0.5242 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.004766, allocations: 3.938 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.004767, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.954e-05/0.004857, allocations: 185.5 kB / 0.5244 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.004863, allocations: 3.984 kB / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.004872, allocations: 0 / 0.5244 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.028e-05/0.004902, allocations: 7.938 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.00494, allocations: 0.5 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.004942, allocations: 1.031 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.832e-05/0.004981, allocations: 131.2 kB / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004981, allocations: 0 / 0.5245 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001324/0.005113, allocations: 4.906 kB / 0.5245 GB, free: 13.73 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.293e-05/0.005186, allocations: 98.31 kB / 0.5246 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.005271, allocations: 15.69 kB / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005272, allocations: 0 / 0.5246 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.777e-05/0.00529, allocations: 15.67 kB / 0.5246 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.005469, allocations: 9.828 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000393/0.005862, allocations: 123.5 kB / 0.5248 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.005896, allocations: 59.3 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.533e-05/0.005911, allocations: 3.984 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.005935, allocations: 12.5 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.005935, allocations: 1.188 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.001868/0.007803, allocations: 0.4918 MB / 0.5253 GB, free: 12.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.499075376894325]