Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.005654/0.005654, allocations: 99.92 kB / 15.73 MB, free: 6.047 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.00128/0.00128, allocations: 186.1 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9527/0.9527, allocations: 143.3 MB / 433.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 67.88 kB / 0.5953 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 82.01 MB / 0.6754 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002317/0.3489, allocations: 1.576 MB / 0.677 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3503, allocations: 0.9106 MB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.3504, allocations: 1.469 kB / 0.6778 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.3504, allocations: 7.875 kB / 0.6779 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3506, allocations: 23.47 kB / 0.6779 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003385/0.351, allocations: 144 kB / 0.678 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3511, allocations: 77.5 kB / 0.6781 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.3512, allocations: 14.36 kB / 0.6781 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.101e-05/0.3513, allocations: 42.05 kB / 0.6781 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.3515, allocations: 36.25 kB / 0.6782 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.3515, allocations: 4.469 kB / 0.6782 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.3519, allocations: 285.9 kB / 0.6784 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.503e-05/0.3519, allocations: 13.34 kB / 0.6785 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.352, allocations: 27.84 kB / 0.6785 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.3522, allocations: 152.4 kB / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3522, allocations: 0 / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3522, allocations: 5.219 kB / 0.6786 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.3523, allocations: 0 / 0.6786 GB, free: 14.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005825/0.3528, allocations: 417.7 kB / 0.679 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3529, allocations: 10.47 kB / 0.679 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.3529, allocations: 31.81 kB / 0.6791 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3531, allocations: 11.33 kB / 0.6791 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3533, allocations: 183.5 kB / 0.6793 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.3533, allocations: 6.562 kB / 0.6793 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.3534, allocations: 6.875 kB / 0.6793 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3535, allocations: 74.39 kB / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3536, allocations: 0 / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3536, allocations: 0 / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3536, allocations: 1.031 kB / 0.6793 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.3537, allocations: 48.45 kB / 0.6794 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.3542, allocations: 296 kB / 0.6797 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3544, allocations: 63.86 kB / 0.6797 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.3545, allocations: 26.69 kB / 0.6798 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.3545, allocations: 4.984 kB / 0.6798 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.3545, allocations: 35.56 kB / 0.6798 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3546, allocations: 0 / 0.6798 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0003564/0.3549, allocations: 114.8 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.355, allocations: 52.56 kB / 0.68 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.3551, allocations: 128.6 kB / 0.6801 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.3551, allocations: 29.7 kB / 0.6801 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.3552, allocations: 90.86 kB / 0.6802 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3552, allocations: 14.17 kB / 0.6802 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.3552, allocations: 18.31 kB / 0.6802 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3554, allocations: 329.1 kB / 0.6805 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.076e-05/0.3555, allocations: 24.61 kB / 0.6806 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.86e-05/0.3555, allocations: 24.8 kB / 0.6806 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3557, allocations: 51.64 kB / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3557, allocations: 0 / 0.6806 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002071/0.3559, allocations: 94.53 kB / 0.6807 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3559, allocations: 12.36 kB / 0.6807 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.356, allocations: 1.5 kB / 0.6807 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.356, allocations: 0 / 0.6807 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.3561, allocations: 14.14 kB / 0.6808 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3561, allocations: 1.375 kB / 0.6808 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.3562, allocations: 10.77 kB / 0.6808 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3562, allocations: 5.5 kB / 0.6808 GB, free: 12.49 MB / 0.5137 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 9.472e-05/0.3563, allocations: 112.7 kB / 0.6809 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.245e-05/0.3563, allocations: 15.95 kB / 0.6809 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.3566, allocations: 99.39 kB / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3566, allocations: 1.094 kB / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3566, allocations: 1.125 kB / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3566, allocations: 0 / 0.681 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3568, allocations: 187.7 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3568, allocations: 3.984 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.3569, allocations: 10.53 kB / 0.6812 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3569, allocations: 4.25 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.357, allocations: 4.797 kB / 0.6812 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.357, allocations: 5.25 kB / 0.6812 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.357, allocations: 0 / 0.6812 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.3572, allocations: 185.2 kB / 0.6814 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3573, allocations: 91.27 kB / 0.6815 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.3573, allocations: 3.938 kB / 0.6815 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.3574, allocations: 11.38 kB / 0.6815 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3575, allocations: 6.203 kB / 0.6815 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.3575, allocations: 2.156 kB / 0.6815 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.3576, allocations: 102.2 kB / 0.6816 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3576, allocations: 0 / 0.6816 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002374/0.3578, allocations: 22.69 kB / 0.6816 GB, free: 11.68 MB / 0.5137 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.0006703/0.3585, allocations: 0.7324 MB / 0.6823 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.3587, allocations: 56.81 kB / 0.6824 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3587, allocations: 1.312 kB / 0.6824 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.773e-05/0.3588, allocations: 29.77 kB / 0.6824 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3591, allocations: 16.95 kB / 0.6824 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3608, allocations: 1.461 MB / 0.6838 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.3611, allocations: 0.6903 MB / 0.6845 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.579e-05/0.3612, allocations: 7.719 kB / 0.6845 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3613, allocations: 26.73 kB / 0.6846 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3613, allocations: 0 / 0.6846 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.502/1.863, allocations: 2.338 MB / 0.6868 GB, free: 7.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/12.4, allocations: 10.14 kB / 0.6868 GB, free: 7.672 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)