Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0022/0.0022, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 69.61 kB / 0.6718 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.2219, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003887/0.2258, allocations: 2.157 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.2277, allocations: 1.031 MB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.2279, allocations: 7.938 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.815e-05/0.228, allocations: 27.67 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.2285, allocations: 83.27 kB / 0.7869 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.229, allocations: 187.5 kB / 0.787 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004219/0.2294, allocations: 294.7 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2296, allocations: 72.86 kB / 0.7874 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.2298, allocations: 107.6 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.2301, allocations: 143.3 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.2302, allocations: 16 kB / 0.7877 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004534/0.2306, allocations: 303.6 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.757e-05/0.2307, allocations: 43.84 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.2308, allocations: 123.2 kB / 0.7881 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.2313, allocations: 330.8 kB / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.2313, allocations: 0 / 0.7884 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2313, allocations: 4 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2313, allocations: 4 kB / 0.7884 GB, free: 8.312 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001145/0.2325, allocations: 0.6232 MB / 0.789 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.2325, allocations: 8.031 kB / 0.789 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.2326, allocations: 46.73 kB / 0.7891 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.2328, allocations: 40.55 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.2333, allocations: 283.5 kB / 0.7894 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.2333, allocations: 12.66 kB / 0.7894 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.2334, allocations: 23.94 kB / 0.7894 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.2339, allocations: 228.2 kB / 0.7896 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2339, allocations: 4 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2339, allocations: 4 kB / 0.7897 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2339, allocations: 4 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.2346, allocations: 206.9 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.2358, allocations: 0.9383 MB / 0.7908 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007454/0.2366, allocations: 241.2 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.2369, allocations: 105.6 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.2369, allocations: 8 kB / 0.7911 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.237, allocations: 30.56 kB / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.237, allocations: 0 / 0.7911 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001122/0.2381, allocations: 337.4 kB / 0.7915 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.2382, allocations: 77.11 kB / 0.7915 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.2384, allocations: 278.8 kB / 0.7918 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.2385, allocations: 25.7 kB / 0.7918 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.2386, allocations: 160.2 kB / 0.792 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.2386, allocations: 59.19 kB / 0.792 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.2387, allocations: 41.7 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.2388, allocations: 334.8 kB / 0.7924 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.2391, allocations: 91.86 kB / 0.7925 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.2395, allocations: 145 kB / 0.7926 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.2401, allocations: 250.2 kB / 0.7929 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2401, allocations: 8 kB / 0.7929 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008136/0.241, allocations: 281.1 kB / 0.7931 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.241, allocations: 12.16 kB / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-06/0.241, allocations: 0 / 0.7931 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.241, allocations: 4 kB / 0.7931 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.2413, allocations: 63.89 kB / 0.7932 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2413, allocations: 0 / 0.7932 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.2416, allocations: 43.7 kB / 0.7933 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.081e-05/0.2416, allocations: 8 kB / 0.7933 GB, free: 3.035 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001378/0.2418, allocations: 141.7 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2419, allocations: 23.72 kB / 0.7934 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.2427, allocations: 287.1 kB / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2427, allocations: 0 / 0.7937 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2427, allocations: 4 kB / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.2427, allocations: 0 / 0.7937 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.2431, allocations: 301.3 kB / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2431, allocations: 288 / 0.794 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.2433, allocations: 59.89 kB / 0.794 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2433, allocations: 4 kB / 0.794 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2434, allocations: 3.938 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.2434, allocations: 4 kB / 0.7941 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2434, allocations: 0 / 0.7941 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008112/0.2442, allocations: 444.8 kB / 0.7945 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.2443, allocations: 104.8 kB / 0.7946 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2443, allocations: 11.94 kB / 0.7946 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.2446, allocations: 27.95 kB / 0.7946 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.286e-05/0.2447, allocations: 15.98 kB / 0.7946 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2447, allocations: 15.94 kB / 0.7946 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001735/0.2449, allocations: 186 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2449, allocations: 0 / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000367/0.2452, allocations: 60.25 kB / 0.7949 GB, free: 1.273 MB / 0.6075 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 (20): * Single equations (assignments): 20 * 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.001228/0.2465, allocations: 0.9923 MB / 0.7958 GB, free: 260 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007153/0.2472, allocations: 219.7 kB / 0.7961 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2472, allocations: 4 kB / 0.7961 GB, free: 36 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.2476, allocations: 120.2 kB / 0.7962 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.2481, allocations: 72.22 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/0.2521, allocations: 2.708 MB / 0.7989 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2525, allocations: 0.748 MB / 0.7996 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001487/0.2526, allocations: 38.2 kB / 0.7997 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.2528, allocations: 87.41 kB / 0.7997 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2528, allocations: 0 / 0.7997 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.2761, allocations: 6.488 MB / 0.8061 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/7.823, allocations: 14.73 kB / 0.8061 GB, free: 5.805 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)