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.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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.004427/0.004428, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001119/0.001119, allocations: 192.3 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8423/0.8423, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.66 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 82.03 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4553/0.5842, allocations: 174.1 MB / 0.8452 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008684/0.593, allocations: 9.545 MB / 0.8546 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.5932, allocations: 9.094 kB / 0.8546 GB, free: 5.422 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.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.6.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.6.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.0005039/0.5937, allocations: 191.9 kB / 0.8547 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.5939, allocations: 95.67 kB / 0.8548 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.5941, allocations: 69.8 kB / 0.8549 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.5944, allocations: 331.9 kB / 0.8552 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/0.5947, allocations: 201.6 kB / 0.8554 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.595, allocations: 166 kB / 0.8556 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.5952, allocations: 117.5 kB / 0.8557 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.5952, allocations: 25.25 kB / 0.8557 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.18e-05/0.5952, allocations: 20.81 kB / 0.8557 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 7.658e-05/0.5953, allocations: 78 kB / 0.8558 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.5954, allocations: 131.9 kB / 0.8559 GB, free: 4.5 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.5957, allocations: 310.4 kB / 0.8562 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.5957, allocations: 0 / 0.8562 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5957, allocations: 0 / 0.8562 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5958, allocations: 0 / 0.8562 GB, free: 4.277 MB / 0.6231 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.0004696/0.5962, allocations: 0.5164 MB / 0.8567 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.5963, allocations: 7.75 kB / 0.8567 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/0.5963, allocations: 66.59 kB / 0.8568 GB, free: 3.719 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.5964, allocations: 34.59 kB / 0.8568 GB, free: 3.699 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.5967, allocations: 285.5 kB / 0.8571 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.5967, allocations: 18.59 kB / 0.8571 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.5968, allocations: 25.34 kB / 0.8571 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.5972, allocations: 330.8 kB / 0.8575 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.5972, allocations: 2.906 kB / 0.8575 GB, free: 3.129 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5972, allocations: 10.78 kB / 0.8575 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.5972, allocations: 7.344 kB / 0.8575 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.5974, allocations: 146.1 kB / 0.8576 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5986, allocations: 1.82 MB / 0.8594 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 8.034e-05/0.5987, allocations: 173.1 kB / 0.8596 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.5987, allocations: 84.12 kB / 0.8596 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.5988, allocations: 79.22 kB / 0.8597 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.5988, allocations: 109.8 kB / 0.8598 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.5988, allocations: 0 / 0.8598 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 8.659e-05/0.5989, allocations: 53.52 kB / 0.8599 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.599, allocations: 134.8 kB / 0.86 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.5994, allocations: 377.5 kB / 0.8604 GB, free: 212 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5994, allocations: 25.7 kB / 0.8604 GB, free: 180 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5995, allocations: 171.9 kB / 0.8605 GB, free: 4 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.541e-05/0.5995, allocations: 4 kB / 0.8606 GB, free: 0 / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.5995, allocations: 13.83 kB / 0.8606 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5997, allocations: 338.8 kB / 0.8609 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.5997, allocations: 11.98 kB / 0.8609 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.5997, allocations: 38.3 kB / 0.8609 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.5998, allocations: 44.23 kB / 0.861 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5998, allocations: 0 / 0.861 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001412/0.5999, allocations: 93.31 kB / 0.8611 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.6, allocations: 9.719 kB / 0.8611 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6, allocations: 0 / 0.8611 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6, allocations: 4 kB / 0.8611 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.335e-05/0.6, allocations: 7.984 kB / 0.8611 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.6001, allocations: 4 kB / 0.8611 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.922e-05/0.6001, allocations: 31.89 kB / 0.8611 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.6001, allocations: 0 / 0.8611 GB, free: 15.36 MB / 0.6387 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.0001258/0.6003, allocations: 213.8 kB / 0.8613 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.6004, allocations: 140.7 kB / 0.8615 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.508e-05/0.6004, allocations: 127 kB / 0.8616 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.925e-05/0.6005, allocations: 180.2 kB / 0.8618 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.903e-05/0.6006, allocations: 184.2 kB / 0.8619 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.697e-05/0.6006, allocations: 180.3 kB / 0.8621 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.6009, allocations: 493 kB / 0.8626 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.806e-05/0.601, allocations: 105.8 kB / 0.8627 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.601, allocations: 104.9 kB / 0.8628 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.88e-05/0.6011, allocations: 184.5 kB / 0.8629 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.6011, allocations: 188.3 kB / 0.8631 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-05/0.6012, allocations: 180.2 kB / 0.8633 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.343e-05/0.6012, allocations: 176.3 kB / 0.8635 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.6014, allocations: 327.6 kB / 0.8638 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.6015, allocations: 218.7 kB / 0.864 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.6016, allocations: 188.2 kB / 0.8642 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.6017, allocations: 101 kB / 0.8643 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.6018, allocations: 184.2 kB / 0.8644 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.6018, allocations: 104.8 kB / 0.8645 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002542/0.6021, allocations: 267.2 kB / 0.8648 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6021, allocations: 4 kB / 0.8648 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002618/0.6023, allocations: 31.94 kB / 0.8648 GB, free: 11.35 MB / 0.6387 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.0003642/0.6027, allocations: 0.8436 MB / 0.8657 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 6.177e-05/0.6028, allocations: 20 kB / 0.8657 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6028, allocations: 0 / 0.8657 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.6028, allocations: 0 / 0.8657 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.6036, allocations: 0.5572 MB / 0.8662 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.6061, allocations: 2.69 MB / 0.8688 GB, free: 7.102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6064, allocations: 0.7518 MB / 0.8696 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.195e-05/0.6065, allocations: 30.97 kB / 0.8696 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.6066, allocations: 71.42 kB / 0.8697 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of SimCode: time 3.7e-07/0.6066, allocations: 0 / 0.8697 GB, free: 6.227 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.627, allocations: 5.921 MB / 0.8755 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/8.022, allocations: 9.094 kB / 0.8755 GB, free: 0.4961 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)