Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.008354/0.008354, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.002055/0.002055, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9115/0.9115, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 68.53 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2068, allocations: 82.03 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007573/0.2144, allocations: 4.548 MB / 0.6796 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2158, allocations: 0.8225 MB / 0.6804 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.2159, allocations: 3.938 kB / 0.6804 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.2162, allocations: 23.78 kB / 0.6804 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.2163, allocations: 47.62 kB / 0.6805 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.2172, allocations: 163.4 kB / 0.6806 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003178/0.2175, allocations: 175.4 kB / 0.6808 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2176, allocations: 21.11 kB / 0.6808 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.218, allocations: 83.67 kB / 0.6809 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.2181, allocations: 75.73 kB / 0.681 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.2182, allocations: 12 kB / 0.681 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.2186, allocations: 155.8 kB / 0.6811 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.961e-05/0.2187, allocations: 35.89 kB / 0.6812 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.2187, allocations: 67.66 kB / 0.6812 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004649/0.2192, allocations: 243 kB / 0.6815 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2192, allocations: 0 / 0.6815 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2192, allocations: 4 kB / 0.6815 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.016e-06/0.2193, allocations: 0 / 0.6815 GB, free: 4.359 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001081/0.2203, allocations: 478.9 kB / 0.6819 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.2204, allocations: 8.031 kB / 0.6819 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.2205, allocations: 46.73 kB / 0.682 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.2205, allocations: 8.844 kB / 0.682 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.2207, allocations: 185.2 kB / 0.6822 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.2208, allocations: 8.375 kB / 0.6822 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.2208, allocations: 12.38 kB / 0.6822 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003567/0.2212, allocations: 125.5 kB / 0.6823 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2212, allocations: 0 / 0.6823 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.2212, allocations: 7.984 kB / 0.6823 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.2212, allocations: 8 kB / 0.6823 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.2216, allocations: 143.9 kB / 0.6825 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.2228, allocations: 472.3 kB / 0.6829 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000354/0.2232, allocations: 118.5 kB / 0.683 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.2234, allocations: 68.81 kB / 0.6831 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001552/0.2249, allocations: 0.9725 MB / 0.684 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.225, allocations: 34.56 kB / 0.6841 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 3.968e-06/0.225, allocations: 0 / 0.6841 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007507/0.2257, allocations: 221.2 kB / 0.6843 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.2258, allocations: 51.41 kB / 0.6843 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/0.226, allocations: 171.9 kB / 0.6845 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.226, allocations: 25.7 kB / 0.6845 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.2262, allocations: 112.4 kB / 0.6846 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2262, allocations: 39.39 kB / 0.6847 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.2263, allocations: 49.7 kB / 0.6847 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2265, allocations: 330.8 kB / 0.685 GB, free: 364 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.2267, allocations: 75.94 kB / 0.6851 GB, free: 288 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.227, allocations: 106.4 kB / 0.6852 GB, free: 172 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.2275, allocations: 173.9 kB / 0.6854 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.2275, allocations: 4 kB / 0.6854 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00059/0.2281, allocations: 245.1 kB / 0.6856 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2281, allocations: 8 kB / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2281, allocations: 3.938 kB / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2281, allocations: 0 / 0.6856 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2284, allocations: 55.89 kB / 0.6857 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2284, allocations: 4 kB / 0.6857 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.2286, allocations: 31.92 kB / 0.6857 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2287, allocations: 8 kB / 0.6857 GB, free: 15.63 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001109/0.2288, allocations: 125.8 kB / 0.6858 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.2288, allocations: 11.81 kB / 0.6858 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/0.2293, allocations: 178.8 kB / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2293, allocations: 8 kB / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2293, allocations: 0 / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2294, allocations: 0 / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.2296, allocations: 213.5 kB / 0.6862 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2296, allocations: 0 / 0.6862 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.2298, allocations: 31.97 kB / 0.6863 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.279e-06/0.2298, allocations: 0 / 0.6863 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2299, allocations: 7.938 kB / 0.6863 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.2299, allocations: 0 / 0.6863 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2299, allocations: 7.938 kB / 0.6863 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004757/0.2304, allocations: 255.2 kB / 0.6865 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.344e-05/0.2305, allocations: 100.9 kB / 0.6866 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.2305, allocations: 7.938 kB / 0.6866 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.2306, allocations: 15.98 kB / 0.6866 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.2307, allocations: 15.98 kB / 0.6866 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2307, allocations: 4 kB / 0.6867 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001006/0.2308, allocations: 115.9 kB / 0.6868 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2308, allocations: 0 / 0.6868 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004054/0.2312, allocations: 60.06 kB / 0.6868 GB, free: 14.39 MB / 0.5294 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 (12): * Single equations (assignments): 12 * 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.001229/0.2325, allocations: 0.8495 MB / 0.6876 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005546/0.233, allocations: 169 kB / 0.6878 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2331, allocations: 0 / 0.6878 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.2333, allocations: 71.83 kB / 0.6879 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/0.2338, allocations: 33.22 kB / 0.6879 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.2365, allocations: 1.943 MB / 0.6898 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2368, allocations: 0.7084 MB / 0.6905 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001078/0.2369, allocations: 24.14 kB / 0.6905 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.921e-05/0.237, allocations: 39.42 kB / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/0.237, allocations: 0 / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.2584, allocations: 4.424 MB / 0.6949 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.115, allocations: 9.875 kB / 0.6949 GB, free: 6.152 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)