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.001043/0.001043, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001314/0.001314, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.448/1.448, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7448 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.8 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4251, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002301/0.4274, allocations: 0.8864 MB / 1.069 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.4276, allocations: 39.8 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.4276, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/0.4277, allocations: 7.922 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.4278, allocations: 3.938 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.861e-05/0.4278, allocations: 23.98 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.428, allocations: 59.84 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4281, allocations: 39.95 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.994e-05/0.4282, allocations: 27.81 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.4283, allocations: 35.78 kB / 1.069 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.4283, allocations: 8 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.4283, allocations: 7.938 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.232e-05/0.4283, allocations: 12 kB / 1.069 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.338e-05/0.4284, allocations: 35.73 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.4285, allocations: 68.05 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4285, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4285, allocations: 0 / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.4285, allocations: 0 / 1.069 GB, free: 9.559 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.0004729/0.429, allocations: 389 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4291, allocations: 8.031 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.4291, allocations: 16.78 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.4294, allocations: 192.2 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4294, allocations: 4.375 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.4294, allocations: 12.36 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.4296, allocations: 89.34 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4296, allocations: 192 / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.4296, allocations: 11.94 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4296, allocations: 4 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.335e-05/0.4297, allocations: 39.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.4303, allocations: 432.5 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.15e-05/0.4304, allocations: 49.28 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.4305, allocations: 17.84 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-06/0.4305, allocations: 3.984 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4305, allocations: 34.56 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.4305, allocations: 0 / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/0.4307, allocations: 57.7 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.4308, allocations: 81.11 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.4309, allocations: 161.1 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.431, allocations: 29.7 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.42e-05/0.4311, allocations: 107.9 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.577e-06/0.4311, allocations: 3.906 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4311, allocations: 17.72 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4312, allocations: 318.8 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.4313, allocations: 8.031 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.501e-05/0.4313, allocations: 25.7 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.4313, allocations: 21.72 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4314, allocations: 0 / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.74e-05/0.4314, allocations: 57.55 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4315, allocations: 4 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4315, allocations: 15.98 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4315, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.902e-05/0.4316, allocations: 7.938 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4316, allocations: 3.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.4316, allocations: 11.84 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.4316, allocations: 0 / 1.071 GB, free: 7.109 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 9.04e-05/0.4317, allocations: 113.8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.309e-05/0.4318, allocations: 11.84 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.4318, allocations: 19.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.4318, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4318, allocations: 0 / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4319, allocations: 4 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.4323, allocations: 466.8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4323, allocations: 4 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.4323, allocations: 0 / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4323, allocations: 4 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4323, allocations: 4.062 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4323, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4323, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.314e-05/0.4324, allocations: 81.83 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.4325, allocations: 85.02 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4325, allocations: 3.984 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.276e-05/0.4325, allocations: 8.031 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.4326, allocations: 3.938 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4326, allocations: 4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.352e-05/0.4327, allocations: 121.5 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.4327, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001887/0.4329, allocations: 11.91 kB / 1.072 GB, free: 6.062 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.0001499/0.433, allocations: 96.66 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.781e-05/0.4331, allocations: 20 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4331, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.544e-05/0.4332, allocations: 11.92 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.4333, allocations: 11.94 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.4337, allocations: 183 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.434, allocations: 0.6885 MB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.767e-05/0.434, allocations: 8.422 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.4341, allocations: 11.44 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of SimCode: time 2e-07/0.4341, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.002707/0.4368, allocations: 452.6 kB / 1.073 GB, free: 4.531 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)