Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001529/0.001529, 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.001598/0.001598, allocations: 193.1 kB / 16.13 MB, free: 6.703 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.52/1.52, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.038/3.038, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 68.08 kB / 0.9114 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4547, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.004051/0.4588, allocations: 0.8825 MB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.4591, allocations: 39.78 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.966e-05/0.4592, allocations: 4 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.428e-05/0.4593, allocations: 7.922 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.4595, allocations: 3.938 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.031e-05/0.4596, allocations: 12 kB / 1.068 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.4597, allocations: 59.84 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.4601, allocations: 39.97 kB / 1.069 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.4602, allocations: 27.8 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.54e-05/0.4603, allocations: 23.86 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.4604, allocations: 4 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.762e-05/0.4604, allocations: 7.938 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.614e-05/0.4604, allocations: 11.98 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.4605, allocations: 39.72 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.4607, allocations: 64.06 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.4607, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.364e-06/0.4607, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.4607, allocations: 0 / 1.069 GB, free: 9.676 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.0007923/0.4615, allocations: 379.2 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/0.4616, allocations: 12.02 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.4617, allocations: 8.844 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.4621, allocations: 204.1 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.4621, allocations: 4.375 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.922e-05/0.4622, allocations: 12.38 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4624, allocations: 83.95 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4625, allocations: 192 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/0.4625, allocations: 15.86 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.4626, allocations: 4 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.4627, allocations: 35.98 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009045/0.4636, allocations: 432.5 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4637, allocations: 45.34 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.4638, allocations: 13.78 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.4639, allocations: 8 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/0.464, allocations: 42.42 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.455e-06/0.464, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.000296/0.4643, allocations: 53.55 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.947e-05/0.4644, allocations: 81.05 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.4647, allocations: 161.3 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.4647, allocations: 33.7 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.4648, allocations: 108 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.4649, allocations: 3.906 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/0.465, allocations: 17.72 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4651, allocations: 318.8 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.327e-05/0.4652, allocations: 4 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.4653, allocations: 17.72 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.823e-05/0.4653, allocations: 33.7 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4654, allocations: 0 / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002604/0.4656, allocations: 57.55 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.4657, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4657, allocations: 3.938 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.4657, allocations: 4 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4659, allocations: 7.984 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.4659, allocations: 0 / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.089e-05/0.466, allocations: 15.91 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.466, allocations: 3.984 kB / 1.071 GB, free: 7.23 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 0.0001285/0.4661, allocations: 121.7 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.4662, allocations: 7.906 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.4663, allocations: 19.8 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4663, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.4663, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.4663, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.4669, allocations: 474.8 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.467, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.467, allocations: 4 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.467, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.467, allocations: 4 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4671, allocations: 0 / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4671, allocations: 0 / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.4672, allocations: 93.91 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.4674, allocations: 85.02 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.4674, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.645e-05/0.4674, allocations: 3.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.4675, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4675, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001665/0.4677, allocations: 125.5 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of sort global known variables: time 5.21e-07/0.4677, allocations: 7.969 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003599/0.4681, allocations: 11.91 kB / 1.072 GB, free: 6.172 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.0002519/0.4683, allocations: 95.25 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.4685, allocations: 16 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4685, allocations: 3.938 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.4686, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.4689, allocations: 15.3 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006188/0.4695, allocations: 186.5 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/0.4701, allocations: 0.6926 MB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.372e-05/0.4702, allocations: 8.422 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.4703, allocations: 11.44 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.4703, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of Templates: time 0.004965/0.4753, allocations: 428.5 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)