Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.309/2.309, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 195.4 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.000959, allocations: 121.1 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 52.84 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2859, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002293/0.2883, allocations: 0.8781 MB / 1.219 GB, free: 116.4 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0001201/0.2884, allocations: 47.72 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.476e-05/0.2885, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 5.28e-05/0.2886, allocations: 3.938 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 9.895e-05/0.2887, allocations: 0 / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 5.119e-05/0.2887, allocations: 19.98 kB / 1.219 GB, free: 116.3 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.2889, allocations: 59.84 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.289, allocations: 43.91 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.005e-05/0.2891, allocations: 19.92 kB / 1.219 GB, free: 116.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.2891, allocations: 31.78 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.2892, allocations: 4 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.2892, allocations: 4 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.2892, allocations: 15.92 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.384e-05/0.2892, allocations: 27.75 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.41e-05/0.2893, allocations: 69.83 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2894, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2894, allocations: 11.98 kB / 1.219 GB, free: 116 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2894, allocations: 0 / 1.219 GB, free: 116 MB / 0.823 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.0003859/0.2898, allocations: 375.1 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2898, allocations: 15.98 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.2898, allocations: 8.844 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.29, allocations: 192.2 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.29, allocations: 8.375 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2901, allocations: 8.375 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.2902, allocations: 95.89 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2902, allocations: 192 / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.2903, allocations: 3.938 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.2903, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.418e-05/0.2903, allocations: 39.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.2908, allocations: 432.6 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.2908, allocations: 45.23 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.082e-05/0.2909, allocations: 17.78 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.2909, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2909, allocations: 42.55 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2909, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001663/0.2911, allocations: 57.47 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2911, allocations: 77.11 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2913, allocations: 160.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.2913, allocations: 25.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/0.2913, allocations: 103.9 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-06/0.2913, allocations: 16.14 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.2914, allocations: 21.62 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.2914, allocations: 314.8 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.814e-05/0.2915, allocations: 11.98 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.607e-05/0.2915, allocations: 13.72 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.335e-05/0.2915, allocations: 29.66 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2915, allocations: 8 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.441e-05/0.2916, allocations: 53.62 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.2916, allocations: 5.25 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2916, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2917, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.2917, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.2917, allocations: 0 / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.2918, allocations: 7.906 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.2918, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 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 6.502e-05/0.2918, allocations: 118.5 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.906e-05/0.2919, allocations: 11.91 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.2919, allocations: 11.81 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2919, allocations: 3.938 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2919, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2919, allocations: 0 / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.2922, allocations: 478.8 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.2922, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.2922, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2923, allocations: 7.984 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.2923, allocations: 4 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2923, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2923, allocations: 0 / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.2925, allocations: 0.6402 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.428e-05/0.2925, allocations: 96.84 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.2926, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.2926, allocations: 0 / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.2926, allocations: 7.938 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.2926, allocations: 4 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.903e-05/0.2927, allocations: 121.1 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2927, allocations: 3.969 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002839/0.293, allocations: 8 kB / 1.223 GB, free: 111.9 MB / 0.823 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.0001177/0.2931, allocations: 103.2 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 7.195e-05/0.2932, allocations: 15.94 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2932, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.656e-06/0.2932, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.2933, allocations: 4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.2937, allocations: 293.2 kB / 1.223 GB, free: 111.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.2938, allocations: 0.697 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.2938, allocations: 8.422 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.2938, allocations: 11.44 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2939, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of Templates: time 0.002167/0.296, allocations: 453.3 kB / 1.224 GB, free: 110.3 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)