Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 193 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.861/2.861, allocations: 472.6 MB / 0.7447 GB, free: 5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.39 kB / 0.9114 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3882, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002112/0.3904, allocations: 0.8941 MB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001087/0.3905, allocations: 39.78 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.015e-05/0.3905, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.453e-05/0.3906, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.3907, allocations: 11.94 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.438e-05/0.3907, allocations: 15.98 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.832e-05/0.3908, allocations: 55.84 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.391, allocations: 39.97 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.375e-05/0.391, allocations: 23.88 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.3911, allocations: 31.78 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3911, allocations: 4 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3911, allocations: 4 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.3912, allocations: 7.938 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.3912, allocations: 35.73 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.3913, allocations: 64.05 kB / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3913, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3913, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.3913, allocations: 0 / 1.069 GB, free: 9.711 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004333/0.3918, allocations: 387.2 kB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3918, allocations: 8.031 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.3918, allocations: 16.84 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3921, allocations: 196.1 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3921, allocations: 8.312 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.879e-05/0.3921, allocations: 8.375 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3923, allocations: 93.5 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3923, allocations: 192 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.3923, allocations: 15.88 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3923, allocations: 0 / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.048e-05/0.3924, allocations: 39.92 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.393, allocations: 436.5 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.393, allocations: 45.41 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.3931, allocations: 21.7 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.154e-06/0.3931, allocations: 0 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3931, allocations: 34.56 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.3931, allocations: 0 / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.3933, allocations: 61.48 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3933, allocations: 77.11 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3935, allocations: 161.1 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3935, allocations: 29.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.3936, allocations: 104 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.676e-06/0.3936, allocations: 3.906 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.3936, allocations: 21.7 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.3937, allocations: 323.1 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.828e-05/0.3937, allocations: 7.938 kB / 1.071 GB, free: 7.414 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.137e-05/0.3938, allocations: 21.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.808e-05/0.3938, allocations: 21.72 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3938, allocations: 0 / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.337e-05/0.3939, allocations: 65.53 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3939, allocations: 8.062 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3939, allocations: 3.938 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3939, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.152e-05/0.394, allocations: 8 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.394, allocations: 0 / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.3941, allocations: 11.84 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3941, allocations: 4 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.643e-05/0.3941, allocations: 113.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.3942, allocations: 7.906 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.3942, allocations: 19.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3942, allocations: 4 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3942, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3943, allocations: 0 / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.3946, allocations: 470.7 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.3946, allocations: 3.938 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.3946, allocations: 7.938 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3946, allocations: 4.062 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-06/0.3947, allocations: 0 / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3947, allocations: 0 / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3947, allocations: 7.984 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.651e-05/0.3947, allocations: 77.84 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.3948, allocations: 89 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3948, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3948, allocations: 4.031 kB / 1.072 GB, free: 6.344 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.3949, allocations: 4 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3949, allocations: 4 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.538e-05/0.395, allocations: 121.5 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.395, allocations: 3.938 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000181/0.3952, allocations: 7.906 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0001139/0.3953, allocations: 99.25 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.623e-05/0.3954, allocations: 19.98 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3954, allocations: 0 / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.12e-05/0.3954, allocations: 7.938 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.3955, allocations: 13.58 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.3958, allocations: 180.8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3961, allocations: 0.6965 MB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.933e-05/0.3961, allocations: 4.438 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.3962, allocations: 11.44 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3962, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.002365/0.3985, allocations: 444.5 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)