Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001849/0.001849, allocations: 108 kB / 15.61 MB, free: 152 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.002097/0.002097, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004089/0.004089, allocations: 99.91 kB / 0.6065 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1589, allocations: 89.15 MB / 0.6936 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.4443/0.6032, allocations: 170.3 MB / 0.8599 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006444/0.6097, allocations: 5.999 MB / 0.8658 GB, free: 6.539 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.6099, allocations: 9 kB / 0.8658 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005344/0.6104, allocations: 195.5 kB / 0.866 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.6107, allocations: 79.69 kB / 0.8661 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009956/0.6117, allocations: 0.5211 MB / 0.8666 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.6121, allocations: 414.1 kB / 0.867 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.6124, allocations: 138 kB / 0.8671 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.6127, allocations: 187.1 kB / 0.8673 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.6129, allocations: 150 kB / 0.8674 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.6129, allocations: 17.34 kB / 0.8674 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007127/0.6136, allocations: 455.5 kB / 0.8679 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.059e-05/0.6137, allocations: 72.28 kB / 0.8679 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.6139, allocations: 104.8 kB / 0.868 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0005684/0.6144, allocations: 437 kB / 0.8685 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6144, allocations: 0 / 0.8685 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.507e-06/0.6145, allocations: 3.984 kB / 0.8685 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.6145, allocations: 0 / 0.8685 GB, free: 4.758 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0006257/0.6151, allocations: 0.5311 MB / 0.869 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6151, allocations: 6.906 kB / 0.869 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.254e-05/0.6152, allocations: 60.55 kB / 0.869 GB, free: 4.195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.6155, allocations: 44.98 kB / 0.8691 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.6158, allocations: 257 kB / 0.8693 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.616, allocations: 129.2 kB / 0.8695 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.616, allocations: 20.16 kB / 0.8695 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.6164, allocations: 295.9 kB / 0.8698 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.6165, allocations: 0 / 0.8698 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.6165, allocations: 18.81 kB / 0.8698 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.6165, allocations: 6.875 kB / 0.8698 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.6168, allocations: 160.1 kB / 0.8699 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.6183, allocations: 1.581 MB / 0.8715 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.6184, allocations: 165.1 kB / 0.8716 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.546e-05/0.6184, allocations: 80.14 kB / 0.8717 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.6185, allocations: 86.09 kB / 0.8718 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.977e-05/0.6186, allocations: 113.8 kB / 0.8719 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.143e-06/0.6186, allocations: 0 / 0.8719 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.909e-05/0.6187, allocations: 47.61 kB / 0.8719 GB, free: 1.426 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.6187, allocations: 126.7 kB / 0.8721 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.6191, allocations: 314.7 kB / 0.8724 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6191, allocations: 29.7 kB / 0.8724 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/0.6193, allocations: 189.7 kB / 0.8726 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-06/0.6193, allocations: 6.375 kB / 0.8726 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.6194, allocations: 40.95 kB / 0.8726 GB, free: 0.832 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6195, allocations: 325.8 kB / 0.8729 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.406e-05/0.6196, allocations: 38.59 kB / 0.873 GB, free: 0.4922 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.6198, allocations: 166.9 kB / 0.8731 GB, free: 304 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.62, allocations: 197.4 kB / 0.8733 GB, free: 84 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.6201, allocations: 2.781 kB / 0.8733 GB, free: 84 kB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004225/0.6205, allocations: 220.3 kB / 0.8735 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6205, allocations: 11.31 kB / 0.8735 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6205, allocations: 3 kB / 0.8735 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6205, allocations: 7.906 kB / 0.8736 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.6207, allocations: 39.94 kB / 0.8736 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.6207, allocations: 11.19 kB / 0.8736 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.6209, allocations: 33.45 kB / 0.8736 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.6209, allocations: 11.03 kB / 0.8736 GB, free: 15.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001502/0.6211, allocations: 224.5 kB / 0.8739 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.6212, allocations: 128.4 kB / 0.874 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.72e-05/0.6212, allocations: 121.8 kB / 0.8741 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.69e-05/0.6213, allocations: 180.2 kB / 0.8743 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.793e-05/0.6214, allocations: 183.7 kB / 0.8744 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.035e-05/0.6215, allocations: 184.2 kB / 0.8746 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003454/0.6218, allocations: 478 kB / 0.8751 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-05/0.6219, allocations: 105 kB / 0.8752 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.6219, allocations: 107.3 kB / 0.8753 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-05/0.622, allocations: 184.2 kB / 0.8755 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.859e-05/0.6221, allocations: 184.4 kB / 0.8756 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-05/0.6222, allocations: 178.9 kB / 0.8758 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.6223, allocations: 184.3 kB / 0.876 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.6225, allocations: 326 kB / 0.8763 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6226, allocations: 205.6 kB / 0.8765 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6227, allocations: 184.2 kB / 0.8767 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.6228, allocations: 107.7 kB / 0.8768 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.6229, allocations: 184.2 kB / 0.8769 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.623, allocations: 101 kB / 0.877 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002371/0.6232, allocations: 222.3 kB / 0.8772 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6232, allocations: 3.938 kB / 0.8772 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00036/0.6236, allocations: 50.94 kB / 0.8773 GB, free: 12.16 MB / 0.6075 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.0006457/0.6242, allocations: 0.8669 MB / 0.8781 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.6244, allocations: 79.59 kB / 0.8782 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6245, allocations: 2.75 kB / 0.8782 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.6245, allocations: 4 kB / 0.8782 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.625, allocations: 476.4 kB / 0.8787 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.6276, allocations: 2.508 MB / 0.8811 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.628, allocations: 0.7452 MB / 0.8819 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.6281, allocations: 31.28 kB / 0.8819 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.6282, allocations: 61.61 kB / 0.8819 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.6283, allocations: 0 / 0.8819 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.653, allocations: 3.994 MB / 0.8858 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.71/8.364, allocations: 11.06 kB / 0.8859 GB, free: 5.871 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)