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-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.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.005817/0.005817, allocations: 97.62 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.001566/0.001566, allocations: 202.4 kB / 16.68 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.9536/0.9536, allocations: 143.3 MB / 433.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 71.89 kB / 0.5953 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.37, allocations: 82.02 MB / 0.6754 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002654/0.3727, allocations: 2.128 MB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.3743, allocations: 1.034 MB / 0.6785 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.855e-05/0.3744, allocations: 7.125 kB / 0.6785 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.3745, allocations: 23.67 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.3747, allocations: 82.66 kB / 0.6786 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.3751, allocations: 203.7 kB / 0.6788 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003101/0.3755, allocations: 296.8 kB / 0.6791 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.3756, allocations: 58.53 kB / 0.6792 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3757, allocations: 107.5 kB / 0.6793 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.376, allocations: 143.6 kB / 0.6794 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.376, allocations: 16.53 kB / 0.6794 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.3764, allocations: 299.2 kB / 0.6797 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.377e-05/0.3765, allocations: 45.64 kB / 0.6797 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.3766, allocations: 121.9 kB / 0.6799 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.377, allocations: 345 kB / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.377, allocations: 0 / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.377, allocations: 0 / 0.6802 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.377, allocations: 1.031 kB / 0.6802 GB, free: 13.3 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.001038/0.3781, allocations: 0.643 MB / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3781, allocations: 9 kB / 0.6808 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.494e-05/0.3782, allocations: 47.3 kB / 0.6809 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.3784, allocations: 40.52 kB / 0.6809 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.3787, allocations: 286.1 kB / 0.6812 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.3788, allocations: 10.66 kB / 0.6812 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.3788, allocations: 17.69 kB / 0.6812 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.3793, allocations: 242 kB / 0.6814 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3793, allocations: 3.984 kB / 0.6814 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3794, allocations: 14.22 kB / 0.6815 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3794, allocations: 3.438 kB / 0.6815 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006393/0.38, allocations: 190.8 kB / 0.6816 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.3811, allocations: 0.9442 MB / 0.6826 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007579/0.3819, allocations: 241.8 kB / 0.6828 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.3822, allocations: 109.4 kB / 0.6829 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3823, allocations: 1.375 kB / 0.6829 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.3823, allocations: 35.94 kB / 0.6829 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.3823, allocations: 0 / 0.6829 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001112/0.3834, allocations: 339.3 kB / 0.6833 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.3835, allocations: 82.47 kB / 0.6833 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.3837, allocations: 267.5 kB / 0.6836 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.3838, allocations: 27.08 kB / 0.6836 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.3839, allocations: 164.8 kB / 0.6838 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.3839, allocations: 57.98 kB / 0.6838 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.246e-05/0.384, allocations: 44.08 kB / 0.6839 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3842, allocations: 339.9 kB / 0.6842 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.3845, allocations: 86.02 kB / 0.6843 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.3848, allocations: 146.7 kB / 0.6844 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3855, allocations: 243.9 kB / 0.6846 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3855, allocations: 1.344 kB / 0.6846 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008119/0.3863, allocations: 292.2 kB / 0.6849 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.3864, allocations: 5.656 kB / 0.6849 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3864, allocations: 5.375 kB / 0.6849 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3864, allocations: 2.75 kB / 0.6849 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.3867, allocations: 59.89 kB / 0.685 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3867, allocations: 6.828 kB / 0.685 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.3869, allocations: 44.25 kB / 0.685 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.3869, allocations: 14.88 kB / 0.6851 GB, free: 9.379 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.0001118/0.387, allocations: 135.4 kB / 0.6852 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3872, allocations: 28.17 kB / 0.6852 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/0.388, allocations: 286.5 kB / 0.6855 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.388, allocations: 3.156 kB / 0.6855 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.388, allocations: 0 / 0.6855 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.388, allocations: 5.703 kB / 0.6855 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3884, allocations: 297.1 kB / 0.6858 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3884, allocations: 1.188 kB / 0.6858 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.3886, allocations: 54.3 kB / 0.6858 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3886, allocations: 1.594 kB / 0.6858 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.3887, allocations: 9.312 kB / 0.6858 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3887, allocations: 1.219 kB / 0.6858 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3887, allocations: 1.625 kB / 0.6858 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.3895, allocations: 444.6 kB / 0.6863 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.3896, allocations: 112.2 kB / 0.6864 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.3896, allocations: 1.906 kB / 0.6864 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.3899, allocations: 29.83 kB / 0.6864 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.59e-05/0.39, allocations: 15.48 kB / 0.6864 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.39, allocations: 9.25 kB / 0.6864 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001673/0.3901, allocations: 189.4 kB / 0.6866 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3902, allocations: 0 / 0.6866 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003257/0.3905, allocations: 50.81 kB / 0.6867 GB, free: 8.148 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.001183/0.3917, allocations: 1.001 MB / 0.6876 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007214/0.3924, allocations: 227.3 kB / 0.6879 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3924, allocations: 3.938 kB / 0.6879 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.3928, allocations: 121.6 kB / 0.688 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005131/0.3933, allocations: 78.89 kB / 0.688 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003825/0.3971, allocations: 2.7 MB / 0.6907 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3975, allocations: 0.757 MB / 0.6914 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.3976, allocations: 27.73 kB / 0.6915 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.3978, allocations: 84.44 kB / 0.6915 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.3978, allocations: 0 / 0.6915 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.072/2.47, allocations: 6.595 MB / 0.698 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/10.51, allocations: 3.938 kB / 0.698 GB, free: 14.7 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)