Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.351/1.351, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001015/0.001015, allocations: 178.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.59/1.59, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0007719/0.0007719, allocations: 88.86 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004005, allocations: 15.88 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001656/0.2318, allocations: 1.329 MB / 0.898 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2331, allocations: 0.9451 MB / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.2332, allocations: 0 / 0.899 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.2332, allocations: 7.922 kB / 0.899 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2334, allocations: 19.84 kB / 0.899 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2336, allocations: 103.8 kB / 0.8991 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.2338, allocations: 71.66 kB / 0.8992 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.2339, allocations: 15.94 kB / 0.8992 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.234, allocations: 23.92 kB / 0.8992 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2341, allocations: 43.83 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.2341, allocations: 0 / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.2344, allocations: 287.6 kB / 0.8995 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.2344, allocations: 3.938 kB / 0.8995 GB, free: 65.31 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.2345, allocations: 27.86 kB / 0.8995 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2346, allocations: 99.75 kB / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2346, allocations: 0 / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2346, allocations: 0 / 0.8996 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2346, allocations: 0 / 0.8996 GB, free: 65.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004666/0.2351, allocations: 407.2 kB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.2352, allocations: 12.03 kB / 0.9 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.2353, allocations: 8.844 kB / 0.9001 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2354, allocations: 188.1 kB / 0.9002 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2355, allocations: 4.375 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2355, allocations: 4.375 kB / 0.9002 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2356, allocations: 73.97 kB / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.2357, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.2357, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2357, allocations: 0 / 0.9003 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2358, allocations: 47.97 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.2362, allocations: 308.7 kB / 0.9006 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.2364, allocations: 58.55 kB / 0.9007 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.2365, allocations: 32.97 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.2365, allocations: 4 kB / 0.9007 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/0.2365, allocations: 34.56 kB / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.2365, allocations: 0 / 0.9008 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0003542/0.2369, allocations: 121.5 kB / 0.9009 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2369, allocations: 51.41 kB / 0.9009 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.359e-05/0.237, allocations: 132.5 kB / 0.9011 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.237, allocations: 25.7 kB / 0.9011 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.2371, allocations: 96.12 kB / 0.9012 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.2371, allocations: 15.75 kB / 0.9012 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.2371, allocations: 13.72 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.2372, allocations: 326.8 kB / 0.9015 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.2372, allocations: 23.98 kB / 0.9015 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.419e-05/0.2373, allocations: 31.92 kB / 0.9016 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2375, allocations: 64.83 kB / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2375, allocations: 0 / 0.9016 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000193/0.2377, allocations: 101.9 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2377, allocations: 4 kB / 0.9017 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2377, allocations: 4 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2377, allocations: 4.062 kB / 0.9017 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.2378, allocations: 19.98 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2379, allocations: 3.984 kB / 0.9018 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.2379, allocations: 7.938 kB / 0.9018 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.2379, allocations: 7.984 kB / 0.9018 GB, free: 62.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.085e-05/0.238, allocations: 113.8 kB / 0.9019 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.696e-05/0.238, allocations: 7.906 kB / 0.9019 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.2383, allocations: 113.9 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2383, allocations: 3.984 kB / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2383, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2383, allocations: 0 / 0.902 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.2384, allocations: 189.6 kB / 0.9022 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2385, allocations: 4 kB / 0.9022 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.2385, allocations: 15.98 kB / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.2385, allocations: 0 / 0.9022 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.2386, allocations: 3.984 kB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2386, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2386, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002097/0.2388, allocations: 207.3 kB / 0.9024 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.396e-05/0.2388, allocations: 84.95 kB / 0.9025 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.2388, allocations: 0 / 0.9025 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.2389, allocations: 11.98 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.239, allocations: 4 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.239, allocations: 4 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.239, allocations: 103.2 kB / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.239, allocations: 0 / 0.9026 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002209/0.2393, allocations: 27.91 kB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001699/0.2394, allocations: 107.2 kB / 0.9027 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2397, allocations: 71.95 kB / 0.9028 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2397, allocations: 7.938 kB / 0.9028 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.73e-05/0.2397, allocations: 36.11 kB / 0.9029 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2401, allocations: 9.312 kB / 0.9029 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.2405, allocations: 231.7 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.2406, allocations: 0.6943 MB / 0.9038 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.2406, allocations: 11.44 kB / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2406, allocations: 0 / 0.9038 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.002259/0.2429, allocations: 1.103 MB / 0.9048 GB, free: 59.47 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)