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.001/0.001, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001278/0.001278, allocations: 181 kB / 23.35 MB, free: 1.137 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.057/1.057, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.8889/0.8889, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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 2.745e-06/2.745e-06, allocations: 3.938 kB / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.897e-05, allocations: 7.266 kB / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Sin): time 0.002473/0.002512, allocations: 0.7099 MB / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003666, allocations: 0.8647 MB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.44e-05/0.003711, allocations: 1.312 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.69e-05/0.003748, allocations: 3.938 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.529e-05/0.003843, allocations: 1.641 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.004035, allocations: 17 kB / 481.7 MB, free: 5.234 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.00411, allocations: 16.92 kB / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.078e-05/0.0042, allocations: 18.31 kB / 481.7 MB, free: 5.207 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.206e-05/0.004293, allocations: 12.7 kB / 481.8 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.004336, allocations: 9.516 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.004358, allocations: 5.062 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.133e-05/0.004429, allocations: 8 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.004448, allocations: 1.203 kB / 481.8 MB, free: 5.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.996e-05/0.004468, allocations: 9.047 kB / 481.8 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.004581, allocations: 21.5 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.004583, allocations: 1.438 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004584, allocations: 0 / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.004589, allocations: 0.9844 kB / 481.8 MB, free: 5.148 MB / 442.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.0003658/0.004954, allocations: 231.7 kB / 482 MB, free: 4.898 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.005008, allocations: 16.8 kB / 482.1 MB, free: 4.883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.005145, allocations: 5.281 kB / 482.1 MB, free: 4.879 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.005264, allocations: 111.2 kB / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.005277, allocations: 384 / 482.2 MB, free: 4.746 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.005286, allocations: 4.375 kB / 482.2 MB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005425, allocations: 51.8 kB / 482.2 MB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.005438, allocations: 4.891 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.005454, allocations: 5.203 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.005463, allocations: 1.438 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.784e-05/0.005491, allocations: 7.938 kB / 482.2 MB, free: 4.668 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.005819, allocations: 145 kB / 482.4 MB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.005878, allocations: 21.17 kB / 482.4 MB, free: 4.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.005893, allocations: 4.859 kB / 482.4 MB, free: 4.477 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.005917, allocations: 6.938 kB / 482.4 MB, free: 4.473 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.005954, allocations: 34.5 kB / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.005955, allocations: 0 / 482.5 MB, free: 4.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.006109, allocations: 41.69 kB / 482.5 MB, free: 4.383 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.006153, allocations: 56.5 kB / 482.6 MB, free: 4.316 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.006234, allocations: 102.7 kB / 482.7 MB, free: 4.203 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.006246, allocations: 25.7 kB / 482.7 MB, free: 4.172 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.006287, allocations: 85.47 kB / 482.8 MB, free: 4.086 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.006312, allocations: 11.88 kB / 482.8 MB, free: 4.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-05/0.006339, allocations: 14.59 kB / 482.8 MB, free: 4.055 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006441, allocations: 314.8 kB / 483.1 MB, free: 3.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.006452, allocations: 4 kB / 483.1 MB, free: 3.734 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.006463, allocations: 9.672 kB / 483.1 MB, free: 3.727 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.006489, allocations: 13.47 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.006491, allocations: 0 / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.13e-05/0.006543, allocations: 38.33 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.00656, allocations: 6.188 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.006566, allocations: 0 / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.006579, allocations: 1.172 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.479e-05/0.006654, allocations: 16.55 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.006657, allocations: 0 / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.733e-05/0.006674, allocations: 0.625 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.006679, allocations: 0 / 483.2 MB, free: 3.648 MB / 442.7 MB 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.535e-05/0.006744, allocations: 115.3 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.006759, allocations: 0.5312 kB / 483.3 MB, free: 3.527 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.176e-05/0.00684, allocations: 46.44 kB / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.006842, allocations: 0 / 483.3 MB, free: 3.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.006846, allocations: 9.141 kB / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.006848, allocations: 0 / 483.3 MB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.818e-05/0.006936, allocations: 66.53 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.006938, allocations: 1.453 kB / 483.4 MB, free: 3.391 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.006965, allocations: 4 kB / 483.4 MB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.00697, allocations: 8.734 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.006974, allocations: 0 / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.006975, allocations: 0.625 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006977, allocations: 5.25 kB / 483.4 MB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.285e-05/0.00707, allocations: 137.8 kB / 483.6 MB, free: 3.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.007083, allocations: 11.94 kB / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-06/0.007092, allocations: 0 / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.855e-05/0.00712, allocations: 0 / 483.6 MB, free: 3.219 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/0.007154, allocations: 4 kB / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-06/0.007157, allocations: 0 / 483.6 MB, free: 3.215 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.93e-05/0.007176, allocations: 26.45 kB / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007176, allocations: 0 / 483.6 MB, free: 3.188 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001199/0.007296, allocations: 4 kB / 483.6 MB, free: 3.184 MB / 442.7 MB 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.0001345/0.007431, allocations: 73.05 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.007503, allocations: 10.14 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.007506, allocations: 4.703 kB / 483.7 MB, free: 3.086 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.007524, allocations: 13.59 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.0077, allocations: 4 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004487/0.008149, allocations: 108.3 kB / 483.8 MB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.545e-05/0.008194, allocations: 56.31 kB / 483.9 MB, free: 2.863 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.595e-05/0.00822, allocations: 4 kB / 483.9 MB, free: 2.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.348e-05/0.008274, allocations: 48.47 kB / 483.9 MB, free: 2.812 MB / 442.7 MB Notification: Performance of SimCode: time 1.062e-06/0.008275, allocations: 1.312 kB / 483.9 MB, free: 2.812 MB / 442.7 MB Notification: Performance of Templates: time 0.00245/0.01073, allocations: 457.2 kB / 484.4 MB, free: 2.387 MB / 442.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7593420618213713]