Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.007418/0.007418, allocations: 102.1 kB / 15.73 MB, free: 6.012 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.001832/0.001832, allocations: 196.6 kB / 16.67 MB, free: 5.938 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.047 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 287.1 kB / 290.8 MB, free: 1.637 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.2 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 101.3 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1734, allocations: 86.97 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.5381/0.7115, allocations: 148 MB / 0.9105 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004613/0.7162, allocations: 4.652 MB / 0.915 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.7164, allocations: 8 kB / 0.915 GB, free: 10.48 MB / 0.67 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.0004986/0.7169, allocations: 169.2 kB / 0.9152 GB, free: 10.31 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002991/0.7173, allocations: 75.45 kB / 0.9152 GB, free: 10.24 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000139/0.7174, allocations: 67.91 kB / 0.9153 GB, free: 10.17 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003344/0.7177, allocations: 310.7 kB / 0.9156 GB, free: 9.867 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.718, allocations: 147.2 kB / 0.9157 GB, free: 9.727 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.7182, allocations: 107.6 kB / 0.9159 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.7184, allocations: 155.4 kB / 0.916 GB, free: 9.469 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.7184, allocations: 20 kB / 0.916 GB, free: 9.449 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.802e-05/0.7185, allocations: 16 kB / 0.916 GB, free: 9.434 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 7.543e-05/0.7185, allocations: 67.75 kB / 0.9161 GB, free: 9.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.7186, allocations: 103.5 kB / 0.9162 GB, free: 9.266 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.7189, allocations: 243 kB / 0.9164 GB, free: 9.027 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7189, allocations: 0 / 0.9164 GB, free: 9.027 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.482e-06/0.7189, allocations: 0 / 0.9164 GB, free: 9.027 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7189, allocations: 0 / 0.9164 GB, free: 9.027 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004663/0.7194, allocations: 497.6 kB / 0.9169 GB, free: 8.496 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.7194, allocations: 8.031 kB / 0.9169 GB, free: 8.488 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.556e-05/0.7195, allocations: 62.72 kB / 0.917 GB, free: 8.418 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.7195, allocations: 29.72 kB / 0.917 GB, free: 8.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.7199, allocations: 269 kB / 0.9173 GB, free: 8.09 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.7199, allocations: 12.81 kB / 0.9173 GB, free: 8.078 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.7199, allocations: 20.56 kB / 0.9173 GB, free: 8.059 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003802/0.7203, allocations: 308.8 kB / 0.9176 GB, free: 7.703 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7204, allocations: 3.938 kB / 0.9176 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.7204, allocations: 12 kB / 0.9176 GB, free: 7.688 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.7204, allocations: 8 kB / 0.9176 GB, free: 7.68 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.7206, allocations: 119.8 kB / 0.9177 GB, free: 7.562 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.7218, allocations: 1.969 MB / 0.9196 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.7219, allocations: 173.1 kB / 0.9198 GB, free: 5.305 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.7219, allocations: 80.14 kB / 0.9199 GB, free: 5.223 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.722, allocations: 79.22 kB / 0.92 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.722, allocations: 116 kB / 0.9201 GB, free: 5.023 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.722, allocations: 0 / 0.9201 GB, free: 5.023 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.185e-05/0.7221, allocations: 45.45 kB / 0.9201 GB, free: 4.973 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.7222, allocations: 134.7 kB / 0.9202 GB, free: 4.828 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003237/0.7225, allocations: 332.4 kB / 0.9206 GB, free: 4.496 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.7225, allocations: 25.7 kB / 0.9206 GB, free: 4.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.7227, allocations: 167.7 kB / 0.9207 GB, free: 4.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.7227, allocations: 3.984 kB / 0.9207 GB, free: 4.293 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.7227, allocations: 17.72 kB / 0.9208 GB, free: 4.27 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7228, allocations: 338.8 kB / 0.9211 GB, free: 3.93 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.7229, allocations: 4 kB / 0.9211 GB, free: 3.926 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/0.7229, allocations: 62.8 kB / 0.9212 GB, free: 3.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.107e-05/0.723, allocations: 66.81 kB / 0.9212 GB, free: 3.75 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.723, allocations: 3.938 kB / 0.9212 GB, free: 3.746 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/0.7232, allocations: 101.5 kB / 0.9213 GB, free: 3.641 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.7232, allocations: 14.64 kB / 0.9213 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.7232, allocations: 0 / 0.9213 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.7232, allocations: 7.938 kB / 0.9213 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.7233, allocations: 15.94 kB / 0.9214 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.7233, allocations: 0 / 0.9214 GB, free: 3.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.7234, allocations: 27.69 kB / 0.9214 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.7234, allocations: 4 kB / 0.9214 GB, free: 3.574 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001235/0.7235, allocations: 213.7 kB / 0.9216 GB, free: 3.355 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.7236, allocations: 136.6 kB / 0.9217 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.7237, allocations: 130 kB / 0.9218 GB, free: 3.074 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/0.7237, allocations: 188.2 kB / 0.922 GB, free: 2.883 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-05/0.7238, allocations: 176.3 kB / 0.9222 GB, free: 2.703 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.186e-05/0.7239, allocations: 180.3 kB / 0.9224 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002828/0.7241, allocations: 485.1 kB / 0.9228 GB, free: 1.988 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/0.7242, allocations: 104.8 kB / 0.9229 GB, free: 1.883 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.7242, allocations: 104.9 kB / 0.923 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.982e-05/0.7243, allocations: 176.3 kB / 0.9232 GB, free: 1.594 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.7243, allocations: 184.2 kB / 0.9234 GB, free: 1.406 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.458e-05/0.7244, allocations: 184.4 kB / 0.9235 GB, free: 1.219 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.799e-05/0.7245, allocations: 184.3 kB / 0.9237 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.7246, allocations: 331.4 kB / 0.924 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.48e-05/0.7247, allocations: 205.8 kB / 0.9242 GB, free: 468 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.011e-05/0.7248, allocations: 184.1 kB / 0.9244 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.891e-05/0.7249, allocations: 105 kB / 0.9245 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.725, allocations: 184.2 kB / 0.9247 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.259e-05/0.725, allocations: 109 kB / 0.9248 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002048/0.7252, allocations: 235 kB / 0.925 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7252, allocations: 0 / 0.925 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000251/0.7255, allocations: 24 kB / 0.925 GB, free: 15.61 MB / 0.6856 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.0003768/0.7259, allocations: 0.8358 MB / 0.9258 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.726, allocations: 27.88 kB / 0.9259 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.726, allocations: 0 / 0.9259 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.726, allocations: 0 / 0.9259 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.7268, allocations: 0.5217 MB / 0.9264 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.7293, allocations: 2.51 MB / 0.9288 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.7296, allocations: 0.744 MB / 0.9296 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.786e-05/0.7297, allocations: 30.28 kB / 0.9296 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.7298, allocations: 59.42 kB / 0.9296 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of SimCode: time 2.3e-07/0.7298, allocations: 0 / 0.9296 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0227/0.7525, allocations: 4.875 MB / 0.9344 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/8.118, allocations: 14.44 kB / 0.9344 GB, free: 6.016 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)