Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 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.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.006485/0.006485, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001232/0.001232, allocations: 193.7 kB / 16.67 MB, free: 5.949 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.277/1.277, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.9728/0.9728, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.91 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3391, allocations: 82.02 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002882/0.342, allocations: 2.118 MB / 0.6772 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3436, allocations: 1.034 MB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.851e-05/0.3437, allocations: 2.875 kB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.019e-05/0.3437, allocations: 23.67 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.3441, allocations: 94.39 kB / 0.6784 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.3445, allocations: 192.8 kB / 0.6786 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.3448, allocations: 300.6 kB / 0.6788 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.3449, allocations: 56.94 kB / 0.6789 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.3451, allocations: 107.9 kB / 0.679 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3453, allocations: 147 kB / 0.6791 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.3453, allocations: 17.94 kB / 0.6792 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.3457, allocations: 299.1 kB / 0.6794 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.3458, allocations: 45.39 kB / 0.6795 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.3459, allocations: 121.3 kB / 0.6796 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004204/0.3463, allocations: 340.6 kB / 0.6799 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3463, allocations: 0 / 0.6799 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3464, allocations: 1.062 kB / 0.6799 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3464, allocations: 0 / 0.6799 GB, free: 13.46 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001099/0.3475, allocations: 0.6319 MB / 0.6805 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.3475, allocations: 9.438 kB / 0.6805 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.039e-05/0.3476, allocations: 46.98 kB / 0.6806 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002517/0.3479, allocations: 44.33 kB / 0.6806 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3483, allocations: 277.7 kB / 0.6809 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3483, allocations: 10.81 kB / 0.6809 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.3483, allocations: 13.78 kB / 0.6809 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.3488, allocations: 250.3 kB / 0.6812 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.3489, allocations: 0 / 0.6812 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3489, allocations: 5.625 kB / 0.6812 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3489, allocations: 3.594 kB / 0.6812 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.3496, allocations: 199 kB / 0.6814 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3506, allocations: 0.9438 MB / 0.6823 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007735/0.3514, allocations: 237.2 kB / 0.6825 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003391/0.3517, allocations: 109.3 kB / 0.6826 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.3518, allocations: 6.188 kB / 0.6826 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3518, allocations: 39.53 kB / 0.6827 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.3518, allocations: 4 kB / 0.6827 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001213/0.353, allocations: 335.5 kB / 0.683 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3531, allocations: 82.17 kB / 0.6831 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.3534, allocations: 264.1 kB / 0.6833 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.3534, allocations: 25.7 kB / 0.6833 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.3535, allocations: 164.9 kB / 0.6835 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.3535, allocations: 53.7 kB / 0.6835 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.3536, allocations: 41.11 kB / 0.6836 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3537, allocations: 339.6 kB / 0.6839 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.3541, allocations: 94.41 kB / 0.684 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3544, allocations: 146 kB / 0.6841 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.3551, allocations: 236.2 kB / 0.6844 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3551, allocations: 0 / 0.6844 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008243/0.356, allocations: 299.9 kB / 0.6846 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.356, allocations: 5.5 kB / 0.6847 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.356, allocations: 2.75 kB / 0.6847 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.356, allocations: 2.75 kB / 0.6847 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002799/0.3563, allocations: 62.72 kB / 0.6847 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.3563, allocations: 6.688 kB / 0.6847 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.3566, allocations: 40.22 kB / 0.6848 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.3566, allocations: 6.875 kB / 0.6848 GB, free: 9.578 MB / 0.5137 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.000109/0.3567, allocations: 131.4 kB / 0.6849 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.3568, allocations: 32.03 kB / 0.6849 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008119/0.3576, allocations: 291.6 kB / 0.6852 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.3576, allocations: 6.219 kB / 0.6852 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3577, allocations: 1.5 kB / 0.6852 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3577, allocations: 3.984 kB / 0.6852 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.358, allocations: 293.7 kB / 0.6855 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.358, allocations: 1.594 kB / 0.6855 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.3583, allocations: 54.05 kB / 0.6855 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3583, allocations: 1.281 kB / 0.6855 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.3583, allocations: 5.375 kB / 0.6856 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3583, allocations: 1.281 kB / 0.6856 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3583, allocations: 9.5 kB / 0.6856 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.3592, allocations: 443.3 kB / 0.686 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.3593, allocations: 103.3 kB / 0.6861 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.3593, allocations: 6.844 kB / 0.6861 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3596, allocations: 29.27 kB / 0.6861 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.3596, allocations: 15.14 kB / 0.6861 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3596, allocations: 5.219 kB / 0.6861 GB, free: 8.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001534/0.3598, allocations: 190.5 kB / 0.6863 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3598, allocations: 0 / 0.6863 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003464/0.3602, allocations: 67.64 kB / 0.6864 GB, free: 8.332 MB / 0.5137 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.001118/0.3613, allocations: 0.9915 MB / 0.6874 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007544/0.3621, allocations: 234.8 kB / 0.6876 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3621, allocations: 0 / 0.6876 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3624, allocations: 117.5 kB / 0.6877 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.363, allocations: 80.83 kB / 0.6878 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/0.3667, allocations: 2.69 MB / 0.6904 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.3669, allocations: 0.7528 MB / 0.6911 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.3671, allocations: 29.2 kB / 0.6912 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.3672, allocations: 85.28 kB / 0.6912 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.3672, allocations: 1.781 kB / 0.6912 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.388, allocations: 6.719 MB / 0.6978 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/8.064, allocations: 3.938 kB / 0.6978 GB, free: 14.86 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)