Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_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.001084/0.001084, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001079/0.001079, allocations: 193.3 kB / 16.25 MB, free: 6.617 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.171/1.171, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001895/0.001895, allocations: 282.6 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8432/0.8432, allocations: 169.2 MB / 0.4978 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 91.33 kB / 0.5948 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 86.98 MB / 0.6797 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3758/0.497, allocations: 171.7 MB / 0.8474 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007133/0.5042, allocations: 9.44 MB / 0.8566 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.5045, allocations: 5.719 kB / 0.8566 GB, free: 7.922 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/BuildingSystems 2.0.0-master/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.0004996/0.505, allocations: 164.5 kB / 0.8568 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.5052, allocations: 82.12 kB / 0.8569 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001399/0.5054, allocations: 57.84 kB / 0.8569 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000276/0.5056, allocations: 321.8 kB / 0.8572 GB, free: 7.488 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.5059, allocations: 209.2 kB / 0.8574 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002538/0.5062, allocations: 172.5 kB / 0.8576 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.5063, allocations: 130.2 kB / 0.8577 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.5063, allocations: 23.59 kB / 0.8577 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.813e-05/0.5064, allocations: 20.16 kB / 0.8578 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.363e-05/0.5064, allocations: 72.97 kB / 0.8578 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.5065, allocations: 125 kB / 0.858 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.5067, allocations: 272.5 kB / 0.8582 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5067, allocations: 4 kB / 0.8582 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.91e-07/0.5068, allocations: 2.188 kB / 0.8582 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.5068, allocations: 3.938 kB / 0.8582 GB, free: 6.852 MB / 0.5762 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.0003863/0.5072, allocations: 0.5157 MB / 0.8587 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.5072, allocations: 10.28 kB / 0.8587 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.5072, allocations: 62.23 kB / 0.8588 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.5073, allocations: 38.64 kB / 0.8588 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.5075, allocations: 265.2 kB / 0.8591 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5075, allocations: 18.28 kB / 0.8591 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.5076, allocations: 25.91 kB / 0.8591 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.5079, allocations: 322.8 kB / 0.8594 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.5079, allocations: 2.594 kB / 0.8594 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.508, allocations: 10.12 kB / 0.8595 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.508, allocations: 7.781 kB / 0.8595 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.5082, allocations: 145.9 kB / 0.8596 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000948/0.5091, allocations: 1.823 MB / 0.8614 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.284e-05/0.5092, allocations: 169.1 kB / 0.8615 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.5092, allocations: 82.55 kB / 0.8616 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5092, allocations: 83.25 kB / 0.8617 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5093, allocations: 109.8 kB / 0.8618 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5093, allocations: 0 / 0.8618 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 6.903e-05/0.5094, allocations: 56.83 kB / 0.8619 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.5094, allocations: 126.7 kB / 0.862 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/0.5097, allocations: 372.9 kB / 0.8623 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.5097, allocations: 25.7 kB / 0.8624 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.786e-05/0.5098, allocations: 168.5 kB / 0.8625 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.5098, allocations: 2.219 kB / 0.8625 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.5099, allocations: 23 kB / 0.8625 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.5099, allocations: 335.6 kB / 0.8629 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.51, allocations: 2.625 kB / 0.8629 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.392e-05/0.51, allocations: 36.91 kB / 0.8629 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.51, allocations: 46.42 kB / 0.8629 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.51, allocations: 0 / 0.8629 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000117/0.5102, allocations: 95.28 kB / 0.863 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.5102, allocations: 7.156 kB / 0.863 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5102, allocations: 6.844 kB / 0.863 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.5102, allocations: 2.562 kB / 0.8631 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.59e-05/0.5103, allocations: 11.48 kB / 0.8631 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.5103, allocations: 0 / 0.8631 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.933e-05/0.5103, allocations: 23.31 kB / 0.8631 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5103, allocations: 1.812 kB / 0.8631 GB, free: 2.281 MB / 0.5762 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.0001022/0.5104, allocations: 226 kB / 0.8633 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.5105, allocations: 133.2 kB / 0.8634 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.5106, allocations: 140.6 kB / 0.8636 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-05/0.5106, allocations: 180 kB / 0.8637 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-05/0.5107, allocations: 179 kB / 0.8639 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.152e-05/0.5107, allocations: 184.2 kB / 0.8641 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.5109, allocations: 485.6 kB / 0.8645 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/0.511, allocations: 115.6 kB / 0.8647 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.344e-05/0.511, allocations: 105 kB / 0.8648 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.264e-05/0.5111, allocations: 178.5 kB / 0.8649 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.5111, allocations: 188.1 kB / 0.8651 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.738e-05/0.5112, allocations: 176.3 kB / 0.8653 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-05/0.5112, allocations: 186.4 kB / 0.8654 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.872e-05/0.5113, allocations: 326.7 kB / 0.8658 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.5114, allocations: 213.5 kB / 0.866 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.5115, allocations: 182.5 kB / 0.8661 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.935e-05/0.5116, allocations: 105.2 kB / 0.8662 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.5116, allocations: 183.2 kB / 0.8664 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.5116, allocations: 105 kB / 0.8665 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002041/0.5118, allocations: 266.5 kB / 0.8668 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5119, allocations: 3.938 kB / 0.8668 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002256/0.5121, allocations: 31.16 kB / 0.8668 GB, free: 14.48 MB / 0.5919 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.0002766/0.5124, allocations: 0.8388 MB / 0.8676 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.218e-05/0.5124, allocations: 18.72 kB / 0.8676 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.5124, allocations: 0 / 0.8676 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.5124, allocations: 0 / 0.8676 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.5131, allocations: 0.5509 MB / 0.8682 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5152, allocations: 2.756 MB / 0.8709 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.5155, allocations: 0.7518 MB / 0.8716 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.669e-05/0.5155, allocations: 36.8 kB / 0.8716 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.438e-05/0.5156, allocations: 76.02 kB / 0.8717 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5156, allocations: 0 / 0.8717 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.22/1.735, allocations: 5.759 MB / 0.8773 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.736, allocations: 222.5 kB / 0.8775 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/3.487, allocations: 2.875 kB / 0.8775 GB, free: 7.281 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)