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.00549/0.00549, allocations: 97.39 kB / 15.73 MB, free: 6.484 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.001205/0.001205, allocations: 191.9 kB / 16.67 MB, free: 6.391 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002544/0.002544, allocations: 279 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00285/0.00285, allocations: 95.84 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1601, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5001/0.6603, allocations: 174 MB / 0.9359 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.6708, allocations: 9.511 MB / 0.9452 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002626/0.6711, allocations: 11.94 kB / 0.9452 GB, free: 11.54 MB / 0.7012 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.0005849/0.6717, allocations: 190.7 kB / 0.9454 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0002432/0.672, allocations: 95.3 kB / 0.9455 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.6722, allocations: 67.86 kB / 0.9455 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.6726, allocations: 330.7 kB / 0.9458 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.6729, allocations: 200.9 kB / 0.946 GB, free: 10.67 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.6733, allocations: 163.4 kB / 0.9462 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.6735, allocations: 123.4 kB / 0.9463 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.6735, allocations: 20 kB / 0.9463 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 3.486e-05/0.6735, allocations: 23.94 kB / 0.9464 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.6736, allocations: 75.81 kB / 0.9464 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.6738, allocations: 123.4 kB / 0.9465 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.6741, allocations: 296.2 kB / 0.9468 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6741, allocations: 4 kB / 0.9468 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6741, allocations: 0 / 0.9468 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.6741, allocations: 0 / 0.9468 GB, free: 9.863 MB / 0.7012 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.000556/0.6747, allocations: 0.522 MB / 0.9473 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6747, allocations: 8.031 kB / 0.9473 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/0.6748, allocations: 62.53 kB / 0.9474 GB, free: 9.215 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.6749, allocations: 35.75 kB / 0.9474 GB, free: 9.18 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.6753, allocations: 284.6 kB / 0.9477 GB, free: 8.863 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.6753, allocations: 16.56 kB / 0.9477 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.6754, allocations: 28 kB / 0.9478 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.6759, allocations: 323.9 kB / 0.9481 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.6759, allocations: 4 kB / 0.9481 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.6759, allocations: 8 kB / 0.9481 GB, free: 8.449 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.6759, allocations: 8 kB / 0.9481 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.6762, allocations: 147.6 kB / 0.9482 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.6776, allocations: 1.82 MB / 0.95 GB, free: 6.379 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.6778, allocations: 173.1 kB / 0.9502 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.6778, allocations: 84.12 kB / 0.9502 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.6778, allocations: 83.16 kB / 0.9503 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.432e-05/0.6779, allocations: 105.8 kB / 0.9504 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.6779, allocations: 0 / 0.9504 GB, free: 5.918 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 9.668e-05/0.678, allocations: 57.52 kB / 0.9505 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.6781, allocations: 138.7 kB / 0.9506 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.6785, allocations: 373.6 kB / 0.951 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.6785, allocations: 25.7 kB / 0.951 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.6787, allocations: 163.9 kB / 0.9512 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.6787, allocations: 0 / 0.9512 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.6787, allocations: 21.72 kB / 0.9512 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6789, allocations: 334.8 kB / 0.9515 GB, free: 4.777 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.6789, allocations: 7.984 kB / 0.9515 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.09e-05/0.679, allocations: 37.11 kB / 0.9515 GB, free: 4.719 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.801e-05/0.679, allocations: 40.23 kB / 0.9516 GB, free: 4.664 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.679, allocations: 8 kB / 0.9516 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001563/0.6792, allocations: 93.31 kB / 0.9517 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.6792, allocations: 8 kB / 0.9517 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.6792, allocations: 0 / 0.9517 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6793, allocations: 3.984 kB / 0.9517 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.6793, allocations: 8 kB / 0.9517 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.6793, allocations: 7.25 kB / 0.9517 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.6794, allocations: 27.89 kB / 0.9517 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.6795, allocations: 4 kB / 0.9517 GB, free: 4.504 MB / 0.7012 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.0001563/0.6796, allocations: 221.6 kB / 0.9519 GB, free: 4.277 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.291e-05/0.6797, allocations: 136.7 kB / 0.9521 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.009e-05/0.6798, allocations: 123.1 kB / 0.9522 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.45e-05/0.6799, allocations: 192.1 kB / 0.9524 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.536e-05/0.68, allocations: 180.3 kB / 0.9525 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001136/0.6801, allocations: 180.2 kB / 0.9527 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.6805, allocations: 489.1 kB / 0.9532 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.837e-05/0.6805, allocations: 108.9 kB / 0.9533 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.6806, allocations: 105.1 kB / 0.9534 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.56e-05/0.6807, allocations: 184.3 kB / 0.9536 GB, free: 2.504 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/0.6807, allocations: 192.2 kB / 0.9537 GB, free: 2.309 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.135e-05/0.6808, allocations: 177.8 kB / 0.9539 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.319e-05/0.6809, allocations: 176.3 kB / 0.9541 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.6811, allocations: 331.6 kB / 0.9544 GB, free: 1.602 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.6812, allocations: 221.8 kB / 0.9546 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6813, allocations: 176.3 kB / 0.9548 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.6815, allocations: 105 kB / 0.9549 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.6816, allocations: 184.2 kB / 0.9551 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.6816, allocations: 101 kB / 0.9551 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002843/0.6819, allocations: 271.1 kB / 0.9554 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6819, allocations: 0 / 0.9554 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003541/0.6823, allocations: 32 kB / 0.9554 GB, free: 492 kB / 0.7012 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.0005245/0.6828, allocations: 0.8397 MB / 0.9563 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.938e-05/0.6829, allocations: 20.17 kB / 0.9563 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6829, allocations: 4.062 kB / 0.9563 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.6829, allocations: 0 / 0.9563 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.6838, allocations: 0.5429 MB / 0.9568 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.6869, allocations: 2.703 MB / 0.9595 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.6873, allocations: 0.7558 MB / 0.9602 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001124/0.6874, allocations: 30.97 kB / 0.9602 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.6875, allocations: 75.41 kB / 0.9603 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.6875, allocations: 0 / 0.9603 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.293/0.9806, allocations: 5.93 MB / 0.9661 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.53/9.511, allocations: 5.906 kB / 0.9661 GB, free: 5.648 MB / 0.7169 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)