Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 217.8 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9269/0.9269, allocations: 145 MB / 458.2 MB, free: 15.28 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 66.11 kB / 0.6339 GB, free: 6.664 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1798, allocations: 87.9 MB / 0.7197 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5518/0.7316, allocations: 153.7 MB / 0.8698 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01144/0.743, allocations: 8.671 MB / 0.8782 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.7434, allocations: 11.94 kB / 0.8783 GB, free: 8.727 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007693/0.7442, allocations: 195.5 kB / 0.8784 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004192/0.7446, allocations: 95.36 kB / 0.8785 GB, free: 8.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.7448, allocations: 67.86 kB / 0.8786 GB, free: 8.375 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.7454, allocations: 326.7 kB / 0.8789 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003628/0.7457, allocations: 141 kB / 0.879 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004648/0.7462, allocations: 171.3 kB / 0.8792 GB, free: 7.75 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002154/0.7464, allocations: 127.4 kB / 0.8793 GB, free: 7.625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.928e-05/0.7465, allocations: 24 kB / 0.8793 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.7465, allocations: 20 kB / 0.8794 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.7466, allocations: 71.77 kB / 0.8794 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.7468, allocations: 107.5 kB / 0.8795 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.7472, allocations: 314.5 kB / 0.8798 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.7472, allocations: 4 kB / 0.8798 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7472, allocations: 0 / 0.8798 GB, free: 7.094 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.7472, allocations: 0 / 0.8798 GB, free: 7.094 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006242/0.7478, allocations: 445.6 kB / 0.8803 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.7479, allocations: 15.97 kB / 0.8803 GB, free: 6.613 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.294e-05/0.7479, allocations: 4.656 kB / 0.8803 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.873e-05/0.748, allocations: 66.53 kB / 0.8803 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.649e-05/0.748, allocations: 31.75 kB / 0.8804 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.7485, allocations: 221.3 kB / 0.8806 GB, free: 6.262 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.7485, allocations: 20.66 kB / 0.8806 GB, free: 6.242 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.7485, allocations: 31.94 kB / 0.8806 GB, free: 6.211 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.749, allocations: 325.2 kB / 0.881 GB, free: 5.852 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.749, allocations: 7.938 kB / 0.881 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.7491, allocations: 9 kB / 0.881 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.7491, allocations: 11.94 kB / 0.881 GB, free: 5.824 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.7493, allocations: 143.8 kB / 0.8811 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.751, allocations: 1.734 MB / 0.8828 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.7511, allocations: 173.1 kB / 0.883 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.7511, allocations: 88.08 kB / 0.8831 GB, free: 3.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.7512, allocations: 75.28 kB / 0.8831 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.64e-05/0.7512, allocations: 109.8 kB / 0.8832 GB, free: 3.398 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.7512, allocations: 3.938 kB / 0.8832 GB, free: 3.395 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001386/0.7514, allocations: 53.56 kB / 0.8833 GB, free: 3.336 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.164e-05/0.7514, allocations: 126.7 kB / 0.8834 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.7519, allocations: 381.6 kB / 0.8838 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.752, allocations: 25.7 kB / 0.8838 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.7521, allocations: 163.9 kB / 0.884 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-06/0.7521, allocations: 7.984 kB / 0.884 GB, free: 2.613 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.7522, allocations: 17.72 kB / 0.884 GB, free: 2.59 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7523, allocations: 330.9 kB / 0.8843 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.7524, allocations: 11.94 kB / 0.8843 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.7524, allocations: 41.16 kB / 0.8843 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.938e-05/0.7525, allocations: 48.17 kB / 0.8844 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7525, allocations: 0 / 0.8844 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001693/0.7527, allocations: 85.42 kB / 0.8845 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.7527, allocations: 4 kB / 0.8845 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.7527, allocations: 7.688 kB / 0.8845 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.7527, allocations: 0 / 0.8845 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.7528, allocations: 11.94 kB / 0.8845 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.7528, allocations: 6.734 kB / 0.8845 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.462e-05/0.7529, allocations: 27.73 kB / 0.8845 GB, free: 1.988 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.7529, allocations: 8 kB / 0.8845 GB, free: 1.98 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001679/0.753, allocations: 213 kB / 0.8847 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.7531, allocations: 140.7 kB / 0.8849 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.7532, allocations: 126.8 kB / 0.885 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.522e-05/0.7533, allocations: 184.3 kB / 0.8852 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.529e-05/0.7534, allocations: 180.2 kB / 0.8853 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.284e-05/0.7535, allocations: 176.3 kB / 0.8855 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003705/0.7539, allocations: 452.2 kB / 0.8859 GB, free: 456 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.811e-05/0.7539, allocations: 116.9 kB / 0.8861 GB, free: 332 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.642e-05/0.754, allocations: 105 kB / 0.8862 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.391e-05/0.754, allocations: 180.2 kB / 0.8863 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/0.7541, allocations: 180.3 kB / 0.8865 GB, free: 15.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-05/0.7542, allocations: 188.2 kB / 0.8867 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.492e-05/0.7543, allocations: 176.3 kB / 0.8868 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.7545, allocations: 335.5 kB / 0.8872 GB, free: 15.12 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.7546, allocations: 132.8 kB / 0.8873 GB, free: 14.99 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7547, allocations: 184.2 kB / 0.8875 GB, free: 14.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.7549, allocations: 101 kB / 0.8876 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.755, allocations: 180.3 kB / 0.8877 GB, free: 14.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.755, allocations: 108.9 kB / 0.8878 GB, free: 14.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003477/0.7554, allocations: 271.2 kB / 0.8881 GB, free: 14.14 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.7554, allocations: 0 / 0.8881 GB, free: 14.14 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002739/0.7556, allocations: 31.95 kB / 0.8881 GB, free: 14.11 MB / 0.67 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 (0): * Single equations (assignments): 0 * 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.0005242/0.7562, allocations: 0.832 MB / 0.8889 GB, free: 13.24 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 9.282e-05/0.7562, allocations: 15.94 kB / 0.889 GB, free: 13.23 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7562, allocations: 3.938 kB / 0.889 GB, free: 13.22 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.7562, allocations: 320 / 0.889 GB, free: 13.22 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000919/0.7572, allocations: 0.5622 MB / 0.8895 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.7603, allocations: 2.683 MB / 0.8921 GB, free: 9.875 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.7605, allocations: 150.1 kB / 0.8923 GB, free: 9.703 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001393/0.7606, allocations: 34.97 kB / 0.8923 GB, free: 9.672 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.7607, allocations: 71.42 kB / 0.8924 GB, free: 9.602 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/0.7607, allocations: 0 / 0.8924 GB, free: 9.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02965/0.7904, allocations: 6.5 MB / 0.8987 GB, free: 3.395 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.56, allocations: 6.406 kB / 0.8987 GB, free: 3.391 MB / 0.67 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.364594068960287] Failed to read output from testmodel.py, exit status != 0: 12.735185335041024 12.766469796 12.013407215 Calling exit ...