Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.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.001715/0.001715, allocations: 88.72 kB / 19.44 MB, free: 356 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.002392/0.002392, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.508/1.508, allocations: 177.1 MB / 203.1 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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 1.315/1.315, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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 178] 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 0.5196 GB, free: 2.492 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.291e-05/3.539e-05, allocations: 2.859 kB / 0.5197 GB, free: 2.488 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002503/0.002539, allocations: 0.6128 MB / 0.5202 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.004486, allocations: 0.8319 MB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.004534, allocations: 0 / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.069e-05/0.004574, allocations: 3.938 kB / 0.5211 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.004663, allocations: 7.984 kB / 0.5211 GB, free: 1.043 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.004934, allocations: 7.984 kB / 0.5211 GB, free: 1.035 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.005054, allocations: 24.89 kB / 0.5211 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.005118, allocations: 4 kB / 0.5211 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.00537, allocations: 25.08 kB / 0.5211 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.226e-05/0.005433, allocations: 0 / 0.5211 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.371e-05/0.005456, allocations: 4 kB / 0.5211 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.005512, allocations: 0.625 kB / 0.5211 GB, free: 0.9805 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.005539, allocations: 19.91 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.005569, allocations: 1.625 kB / 0.5212 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005728, allocations: 19.97 kB / 0.5212 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005732, allocations: 0 / 0.5212 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005732, allocations: 0 / 0.5212 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.005738, allocations: 1.156 kB / 0.5212 GB, free: 0.9414 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005736/0.006312, allocations: 250.3 kB / 0.5214 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.598e-05/0.006368, allocations: 12.03 kB / 0.5214 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.006589, allocations: 17.69 kB / 0.5214 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.006767, allocations: 101.8 kB / 0.5215 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.006787, allocations: 1.594 kB / 0.5215 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.0068, allocations: 4.375 kB / 0.5215 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.00697, allocations: 42.91 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.00698, allocations: 192 / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00699, allocations: 1 kB / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.006996, allocations: 384 / 0.5216 GB, free: 472 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.041e-05/0.007087, allocations: 16.92 kB / 0.5216 GB, free: 456 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.007279, allocations: 101.3 kB / 0.5217 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.007381, allocations: 23.22 kB / 0.5217 GB, free: 292 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.007436, allocations: 17.67 kB / 0.5217 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.007458, allocations: 3.188 kB / 0.5217 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/0.007503, allocations: 38.44 kB / 0.5218 GB, free: 224 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.007504, allocations: 0 / 0.5218 GB, free: 224 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000306/0.00781, allocations: 53.67 kB / 0.5218 GB, free: 164 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.007867, allocations: 51.41 kB / 0.5219 GB, free: 100 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.008015, allocations: 109.8 kB / 0.522 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.00804, allocations: 25.7 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.008104, allocations: 81.05 kB / 0.5221 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.008137, allocations: 7.953 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.008186, allocations: 10.25 kB / 0.5221 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.008395, allocations: 314.8 kB / 0.5224 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.008445, allocations: 8.922 kB / 0.5224 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.008501, allocations: 13.53 kB / 0.5224 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.466e-05/0.008596, allocations: 20.84 kB / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.008598, allocations: 0 / 0.5224 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001502/0.008748, allocations: 46.66 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.008771, allocations: 10.06 kB / 0.5225 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.008781, allocations: 3.984 kB / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.008803, allocations: 256 / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.008872, allocations: 0 / 0.5225 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.008881, allocations: 8 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.926e-05/0.008921, allocations: 3.938 kB / 0.5225 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008927, allocations: 0.75 kB / 0.5225 GB, free: 15.41 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 (1): * Single equations (assignments): 1 * 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.0001108/0.009038, allocations: 110.6 kB / 0.5226 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.009063, allocations: 11.88 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.009081, allocations: 3.688 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009084, allocations: 0.75 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.009092, allocations: 4 kB / 0.5226 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.009098, allocations: 5.438 kB / 0.5226 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.009226, allocations: 97.33 kB / 0.5227 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.009233, allocations: 11.97 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.009272, allocations: 0 / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.009275, allocations: 2.75 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.009286, allocations: 4 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.009287, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.009289, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.009486, allocations: 76.98 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.009497, allocations: 4 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.009511, allocations: 2.156 kB / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.192e-05/0.009543, allocations: 0 / 0.5228 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.009583, allocations: 4 kB / 0.5228 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.009586, allocations: 0 / 0.5228 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.155e-05/0.009657, allocations: 91.2 kB / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.009658, allocations: 0 / 0.5229 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002637/0.009921, allocations: 8.844 kB / 0.5229 GB, free: 14.93 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 (1): * Single equations (assignments): 1 * 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.0001552/0.01008, allocations: 92 kB / 0.523 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.01025, allocations: 16.64 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01025, allocations: 3.375 kB / 0.523 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.987e-05/0.0103, allocations: 11.98 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.01051, allocations: 0 / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.01091, allocations: 112.6 kB / 0.5232 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.141e-05/0.011, allocations: 55.36 kB / 0.5232 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.01103, allocations: 0 / 0.5232 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.01107, allocations: 15.53 kB / 0.5232 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.01107, allocations: 0 / 0.5232 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.003375/0.01444, allocations: 303 kB / 0.5235 GB, free: 14.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.894014728022739]