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-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.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.005207/0.005207, allocations: 103.5 kB / 15.73 MB, free: 6.492 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.001477/0.001477, allocations: 197.3 kB / 16.68 MB, free: 6.363 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.957/0.957, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 59.91 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.335, allocations: 82.03 MB / 0.6754 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005075/0.3401, allocations: 4.554 MB / 0.6799 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009852/0.3412, allocations: 0.8139 MB / 0.6807 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.823e-05/0.3412, allocations: 1 kB / 0.6807 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.3414, allocations: 28.86 kB / 0.6807 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.688e-05/0.3414, allocations: 36.08 kB / 0.6807 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.3419, allocations: 170.2 kB / 0.6809 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.3421, allocations: 178.3 kB / 0.6811 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.3421, allocations: 18.2 kB / 0.6811 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.3423, allocations: 83.41 kB / 0.6812 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3424, allocations: 80.97 kB / 0.6812 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.3424, allocations: 12.25 kB / 0.6812 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002883/0.3427, allocations: 150.1 kB / 0.6814 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.3428, allocations: 40.7 kB / 0.6814 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.251e-05/0.3429, allocations: 63.91 kB / 0.6815 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3432, allocations: 245 kB / 0.6817 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3432, allocations: 0 / 0.6817 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3432, allocations: 0 / 0.6817 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.3432, allocations: 0 / 0.6817 GB, free: 12.1 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.0007932/0.344, allocations: 493.5 kB / 0.6822 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.3441, allocations: 9.906 kB / 0.6822 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.3441, allocations: 41.02 kB / 0.6822 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3442, allocations: 15.2 kB / 0.6823 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3443, allocations: 187.7 kB / 0.6824 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.3443, allocations: 12.69 kB / 0.6824 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3443, allocations: 12.09 kB / 0.6825 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.3447, allocations: 119.5 kB / 0.6826 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3447, allocations: 3.938 kB / 0.6826 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3447, allocations: 5.188 kB / 0.6826 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3447, allocations: 2.438 kB / 0.6826 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.3451, allocations: 149.4 kB / 0.6827 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008879/0.346, allocations: 461.6 kB / 0.6832 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.3463, allocations: 118.5 kB / 0.6833 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001947/0.3465, allocations: 75.91 kB / 0.6833 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001312/0.3478, allocations: 0.9672 MB / 0.6843 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.3479, allocations: 35.8 kB / 0.6843 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3479, allocations: 0 / 0.6843 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006233/0.3485, allocations: 211.4 kB / 0.6845 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.3485, allocations: 56.78 kB / 0.6846 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3487, allocations: 174.1 kB / 0.6847 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.3487, allocations: 27.08 kB / 0.6848 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.3488, allocations: 116.5 kB / 0.6849 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.3488, allocations: 41.14 kB / 0.6849 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.3489, allocations: 47.58 kB / 0.685 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.349, allocations: 323 kB / 0.6853 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.3493, allocations: 79.81 kB / 0.6854 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.3495, allocations: 103.7 kB / 0.6855 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.3499, allocations: 173.7 kB / 0.6856 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3499, allocations: 0 / 0.6856 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005382/0.3505, allocations: 245 kB / 0.6859 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3505, allocations: 5.5 kB / 0.6859 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3505, allocations: 5.312 kB / 0.6859 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3505, allocations: 1.375 kB / 0.6859 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.3508, allocations: 56.73 kB / 0.6859 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3508, allocations: 1.938 kB / 0.6859 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.3509, allocations: 38.95 kB / 0.686 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.351, allocations: 10.31 kB / 0.686 GB, free: 8.383 MB / 0.5137 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 9.801e-05/0.3511, allocations: 128 kB / 0.6861 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.3511, allocations: 12.22 kB / 0.6861 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.3516, allocations: 182.4 kB / 0.6863 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3516, allocations: 1.25 kB / 0.6863 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3516, allocations: 0 / 0.6863 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3516, allocations: 3.984 kB / 0.6863 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3518, allocations: 219.2 kB / 0.6865 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.3518, allocations: 4 kB / 0.6865 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.352, allocations: 29.95 kB / 0.6865 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.352, allocations: 3.984 kB / 0.6865 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.352, allocations: 9.219 kB / 0.6865 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.352, allocations: 1.125 kB / 0.6865 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.352, allocations: 0 / 0.6865 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.3525, allocations: 257 kB / 0.6868 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.513e-05/0.3526, allocations: 97.81 kB / 0.6869 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3526, allocations: 9.844 kB / 0.6869 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3527, allocations: 14.41 kB / 0.6869 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.3528, allocations: 8.5 kB / 0.6869 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3528, allocations: 10.52 kB / 0.6869 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.3529, allocations: 111.9 kB / 0.687 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3529, allocations: 0 / 0.687 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003067/0.3532, allocations: 65.42 kB / 0.6871 GB, free: 7.426 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 (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.0008747/0.3541, allocations: 0.8481 MB / 0.6879 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004798/0.3546, allocations: 178.4 kB / 0.6881 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3546, allocations: 3.938 kB / 0.6881 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.3548, allocations: 62.61 kB / 0.6881 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3551, allocations: 24.95 kB / 0.6882 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.3576, allocations: 1.941 MB / 0.6901 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3579, allocations: 0.7074 MB / 0.6908 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.468e-05/0.358, allocations: 21.09 kB / 0.6908 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.358, allocations: 43.39 kB / 0.6908 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3581, allocations: 0 / 0.6908 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.935/2.293, allocations: 4.353 MB / 0.6951 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.829/10.12, allocations: 12.31 kB / 0.6951 GB, free: 1.711 MB / 0.5137 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)