Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_8_Buildings_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.001615/0.001615, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 188.3 kB / 16.64 MB, free: 6.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.3 MB / 0.549 GB, free: 12.71 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 73.05 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2447, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.6304/0.8752, allocations: 148 MB / 0.9282 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004719/0.88, allocations: 4.651 MB / 0.9327 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.8805, allocations: 7.781 kB / 0.9327 GB, free: 4.934 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.0006607/0.8812, allocations: 166.3 kB / 0.9329 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004196/0.8816, allocations: 83.75 kB / 0.933 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.8819, allocations: 67.69 kB / 0.933 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.8823, allocations: 308.2 kB / 0.9333 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003044/0.8826, allocations: 153.5 kB / 0.9335 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.8828, allocations: 114.8 kB / 0.9336 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.883, allocations: 149.2 kB / 0.9337 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.883, allocations: 18.09 kB / 0.9337 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.009e-05/0.883, allocations: 16 kB / 0.9337 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.8831, allocations: 63.95 kB / 0.9338 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.8832, allocations: 101.3 kB / 0.9339 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.8835, allocations: 239.1 kB / 0.9341 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8836, allocations: 0 / 0.9341 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.8836, allocations: 4.531 kB / 0.9341 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8836, allocations: 0 / 0.9341 GB, free: 4.867 MB / 0.7169 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.0006833/0.8843, allocations: 493.7 kB / 0.9346 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.8843, allocations: 10.78 kB / 0.9346 GB, free: 20.46 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.8844, allocations: 58.72 kB / 0.9347 GB, free: 20.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.8844, allocations: 25.72 kB / 0.9347 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004388/0.8849, allocations: 268.6 kB / 0.935 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.8849, allocations: 17.97 kB / 0.935 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.784e-05/0.8849, allocations: 19.88 kB / 0.935 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.8853, allocations: 311.1 kB / 0.9353 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.8854, allocations: 2.344 kB / 0.9353 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.8854, allocations: 12.06 kB / 0.9353 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.8854, allocations: 5.5 kB / 0.9353 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.8856, allocations: 125.9 kB / 0.9354 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.887, allocations: 1.968 MB / 0.9373 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.709e-05/0.8871, allocations: 168.2 kB / 0.9375 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.353e-05/0.8871, allocations: 87.2 kB / 0.9376 GB, free: 18.04 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.593e-05/0.8872, allocations: 76.03 kB / 0.9377 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/0.8873, allocations: 112.6 kB / 0.9378 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.8873, allocations: 3.281 kB / 0.9378 GB, free: 17.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.872e-05/0.8874, allocations: 52.23 kB / 0.9378 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.8875, allocations: 129.8 kB / 0.9379 GB, free: 17.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/0.8878, allocations: 327.5 kB / 0.9383 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.8879, allocations: 25.7 kB / 0.9383 GB, free: 17.53 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.888, allocations: 166.4 kB / 0.9384 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.888, allocations: 0 / 0.9384 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.888, allocations: 27.84 kB / 0.9385 GB, free: 17.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.8883, allocations: 335.5 kB / 0.9388 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.8883, allocations: 10.27 kB / 0.9388 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.348e-05/0.8883, allocations: 57.33 kB / 0.9389 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.937e-05/0.8884, allocations: 74.23 kB / 0.9389 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8884, allocations: 4 kB / 0.9389 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001547/0.8886, allocations: 97.44 kB / 0.939 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.8886, allocations: 7.422 kB / 0.939 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8886, allocations: 7.297 kB / 0.939 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.8886, allocations: 6.453 kB / 0.939 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.8887, allocations: 15.3 kB / 0.9391 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.8887, allocations: 5.141 kB / 0.9391 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.8888, allocations: 32.97 kB / 0.9391 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.8888, allocations: 4.875 kB / 0.9391 GB, free: 16.89 MB / 0.7325 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.0001251/0.8889, allocations: 214.3 kB / 0.9393 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.667e-05/0.889, allocations: 126.7 kB / 0.9394 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.552e-05/0.8891, allocations: 130.8 kB / 0.9395 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-05/0.8891, allocations: 177.9 kB / 0.9397 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.28e-05/0.8892, allocations: 184.6 kB / 0.9399 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.088e-05/0.8893, allocations: 182.3 kB / 0.9401 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.8896, allocations: 477.1 kB / 0.9405 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.162e-05/0.8896, allocations: 109.4 kB / 0.9406 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.362e-05/0.8897, allocations: 103.9 kB / 0.9407 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.367e-05/0.8897, allocations: 187.7 kB / 0.9409 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.8898, allocations: 180.9 kB / 0.9411 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.471e-05/0.8899, allocations: 179.5 kB / 0.9412 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.897e-05/0.8899, allocations: 178.4 kB / 0.9414 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.8901, allocations: 326.4 kB / 0.9417 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.8902, allocations: 210 kB / 0.9419 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.8904, allocations: 189.8 kB / 0.9421 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.8905, allocations: 102.8 kB / 0.9422 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.203e-05/0.8905, allocations: 184.1 kB / 0.9424 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.8906, allocations: 111.2 kB / 0.9425 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002272/0.8909, allocations: 237.5 kB / 0.9427 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8909, allocations: 4 kB / 0.9427 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002681/0.8911, allocations: 26.19 kB / 0.9427 GB, free: 13.33 MB / 0.7325 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.0003837/0.8915, allocations: 0.8231 MB / 0.9435 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.8916, allocations: 38.77 kB / 0.9436 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8916, allocations: 0 / 0.9436 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.8916, allocations: 0 / 0.9436 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.8923, allocations: 0.5245 MB / 0.9441 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.8947, allocations: 2.507 MB / 0.9465 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.895, allocations: 0.7459 MB / 0.9473 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.8952, allocations: 30.53 kB / 0.9473 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.8952, allocations: 56.98 kB / 0.9474 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8952, allocations: 5.25 kB / 0.9474 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.9175, allocations: 4.742 MB / 0.952 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/8.249, allocations: 15.09 kB / 0.952 GB, free: 9.242 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)