Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001001, allocations: 184.4 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008943/0.0008945, allocations: 90.36 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 13.28 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2332, allocations: 105.4 MB / 0.8968 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001282/0.2346, allocations: 0.5884 MB / 0.8973 GB, free: 67.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001225/0.2347, allocations: 43.78 kB / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.2348, allocations: 0 / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.2349, allocations: 3.938 kB / 0.8974 GB, free: 67.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.235, allocations: 11.92 kB / 0.8974 GB, free: 67.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.989e-05/0.235, allocations: 19.98 kB / 0.8974 GB, free: 67.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2352, allocations: 63.78 kB / 0.8975 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2354, allocations: 45.59 kB / 0.8975 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.074e-05/0.2354, allocations: 15.88 kB / 0.8975 GB, free: 67.4 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.826e-05/0.2355, allocations: 27.73 kB / 0.8975 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2355, allocations: 4 kB / 0.8976 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.2355, allocations: 4 kB / 0.8976 GB, free: 67.36 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.2356, allocations: 11.92 kB / 0.8976 GB, free: 67.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.2356, allocations: 27.75 kB / 0.8976 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.931e-05/0.2357, allocations: 59.86 kB / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.2357, allocations: 0 / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2357, allocations: 0 / 0.8976 GB, free: 67.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2358, allocations: 0 / 0.8976 GB, free: 67.27 MB / 0.6042 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.0004583/0.2362, allocations: 375.2 kB / 0.898 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.2363, allocations: 16.02 kB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.2363, allocations: 12.75 kB / 0.898 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.2365, allocations: 196.2 kB / 0.8982 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2366, allocations: 384 / 0.8982 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2366, allocations: 12.38 kB / 0.8982 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.2368, allocations: 95.88 kB / 0.8983 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2368, allocations: 192 / 0.8983 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.2368, allocations: 7.938 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.2368, allocations: 4 kB / 0.8983 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.2369, allocations: 39.92 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.2374, allocations: 448.6 kB / 0.8988 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.214e-05/0.2375, allocations: 49.94 kB / 0.8989 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.2375, allocations: 9.781 kB / 0.8989 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.2376, allocations: 4 kB / 0.8989 GB, free: 65.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.2376, allocations: 34.56 kB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.2376, allocations: 0 / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001839/0.2378, allocations: 61.72 kB / 0.899 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2378, allocations: 81.11 kB / 0.899 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.238, allocations: 166.2 kB / 0.8992 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.238, allocations: 29.7 kB / 0.8992 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/0.2381, allocations: 111.9 kB / 0.8993 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.2381, allocations: 4 kB / 0.8993 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/0.2381, allocations: 9.719 kB / 0.8993 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.95e-05/0.2382, allocations: 322.8 kB / 0.8996 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.2382, allocations: 7.938 kB / 0.8997 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-05/0.2382, allocations: 25.7 kB / 0.8997 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.999e-05/0.2383, allocations: 29.72 kB / 0.8997 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2383, allocations: 4 kB / 0.8997 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.544e-05/0.2384, allocations: 61.45 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.2384, allocations: 11.98 kB / 0.8998 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2384, allocations: 3.938 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2384, allocations: 4.156 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.663e-05/0.2385, allocations: 7.984 kB / 0.8998 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.2385, allocations: 7.984 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.447e-05/0.2386, allocations: 3.938 kB / 0.8998 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.2386, allocations: 4 kB / 0.8998 GB, free: 64.79 MB / 0.6042 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.717e-05/0.2387, allocations: 109.8 kB / 0.8999 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.2387, allocations: 11.91 kB / 0.8999 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.43e-05/0.2387, allocations: 16.48 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2387, allocations: 4 kB / 0.8999 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2387, allocations: 4 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2388, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.2391, allocations: 478.7 kB / 0.9004 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2391, allocations: 4 kB / 0.9004 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.2391, allocations: 11.92 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2391, allocations: 3.938 kB / 0.9004 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2391, allocations: 3.938 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2391, allocations: 4.062 kB / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2391, allocations: 0 / 0.9004 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.895e-05/0.2392, allocations: 81.84 kB / 0.9005 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.2393, allocations: 89 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.2393, allocations: 4 kB / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.501e-05/0.2393, allocations: 0 / 0.9006 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.2393, allocations: 8.031 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.2393, allocations: 0 / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.655e-05/0.2394, allocations: 128.9 kB / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.62e-07/0.2394, allocations: 0 / 0.9007 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002008/0.2396, allocations: 15.94 kB / 0.9007 GB, free: 63.72 MB / 0.6042 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 9.992e-05/0.2397, allocations: 95.25 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.2398, allocations: 16 kB / 0.9009 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2398, allocations: 4.125 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.2399, allocations: 7.938 kB / 0.9009 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.24, allocations: 13.2 kB / 0.9009 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.2403, allocations: 225.8 kB / 0.9011 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.2404, allocations: 0.6965 MB / 0.9018 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.2405, allocations: 11.44 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/0.2405, allocations: 0 / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.001907/0.2424, allocations: 0.9101 MB / 0.9027 GB, free: 61.68 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1)