Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_dev_IDEAS_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.006842/0.006842, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001564/0.001565, allocations: 199.4 kB / 16.68 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9295/0.9295, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3463, allocations: 80.92 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1727/0.519, allocations: 170.3 MB / 0.8305 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.006218/0.5253, allocations: 5.999 MB / 0.8364 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.5255, allocations: 11.94 kB / 0.8364 GB, free: 0.6055 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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). Notification: Performance of NFTyping.typeComponents: time 0.000587/0.5261, allocations: 186.7 kB / 0.8365 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.5264, allocations: 99.36 kB / 0.8366 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.5275, allocations: 0.5333 MB / 0.8372 GB, free: 15.79 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.528, allocations: 414.7 kB / 0.8376 GB, free: 15.38 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.5282, allocations: 135.6 kB / 0.8377 GB, free: 15.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.5285, allocations: 191.3 kB / 0.8379 GB, free: 15.06 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.5287, allocations: 147.4 kB / 0.838 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.5288, allocations: 20 kB / 0.838 GB, free: 14.89 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.5295, allocations: 470.7 kB / 0.8385 GB, free: 14.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.5296, allocations: 71.81 kB / 0.8385 GB, free: 14.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.5297, allocations: 99.48 kB / 0.8386 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0005864/0.5303, allocations: 459.5 kB / 0.8391 GB, free: 13.82 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5303, allocations: 0 / 0.8391 GB, free: 13.82 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5303, allocations: 0 / 0.8391 GB, free: 13.82 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.5303, allocations: 0 / 0.8391 GB, free: 13.82 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005696/0.5309, allocations: 0.518 MB / 0.8396 GB, free: 13.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.5309, allocations: 12.03 kB / 0.8396 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.531, allocations: 62.53 kB / 0.8397 GB, free: 13.17 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002672/0.5313, allocations: 43.84 kB / 0.8397 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.5317, allocations: 258.7 kB / 0.8399 GB, free: 12.83 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.5318, allocations: 143.3 kB / 0.8401 GB, free: 12.67 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.5319, allocations: 20 kB / 0.8401 GB, free: 12.65 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004438/0.5323, allocations: 294.8 kB / 0.8404 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5323, allocations: 0 / 0.8404 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.5324, allocations: 12 kB / 0.8404 GB, free: 12.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.5324, allocations: 8 kB / 0.8404 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.5327, allocations: 156.6 kB / 0.8406 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.534, allocations: 1.591 MB / 0.8421 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.252e-05/0.5341, allocations: 173 kB / 0.8423 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.747e-05/0.5341, allocations: 84.08 kB / 0.8424 GB, free: 10.21 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.5342, allocations: 75.28 kB / 0.8424 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.5342, allocations: 109.8 kB / 0.8425 GB, free: 10.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 3.226e-06/0.5342, allocations: 7.984 kB / 0.8425 GB, free: 10.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.948e-05/0.5343, allocations: 49.5 kB / 0.8426 GB, free: 9.953 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.5344, allocations: 130.7 kB / 0.8427 GB, free: 9.812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.5347, allocations: 310.6 kB / 0.843 GB, free: 9.5 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.5347, allocations: 25.7 kB / 0.843 GB, free: 9.469 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5349, allocations: 191.7 kB / 0.8432 GB, free: 9.277 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.5349, allocations: 4 kB / 0.8432 GB, free: 9.273 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.535, allocations: 45.66 kB / 0.8433 GB, free: 9.223 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5351, allocations: 334.8 kB / 0.8436 GB, free: 8.887 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.121e-05/0.5352, allocations: 35.97 kB / 0.8436 GB, free: 8.852 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.5353, allocations: 157.2 kB / 0.8438 GB, free: 8.637 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.5356, allocations: 196.8 kB / 0.8439 GB, free: 8.383 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5356, allocations: 0 / 0.8439 GB, free: 8.383 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004089/0.536, allocations: 221 kB / 0.8442 GB, free: 8.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.536, allocations: 8.625 kB / 0.8442 GB, free: 8.152 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.536, allocations: 7.938 kB / 0.8442 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.5361, allocations: 8 kB / 0.8442 GB, free: 8.137 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5362, allocations: 47.92 kB / 0.8442 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5362, allocations: 11.92 kB / 0.8442 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5364, allocations: 27.78 kB / 0.8443 GB, free: 8.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.558e-05/0.5365, allocations: 15.98 kB / 0.8443 GB, free: 8.035 MB / 0.67 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.0001333/0.5366, allocations: 220.9 kB / 0.8445 GB, free: 7.809 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.5367, allocations: 128.9 kB / 0.8446 GB, free: 7.676 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.513e-05/0.5367, allocations: 125.8 kB / 0.8447 GB, free: 7.551 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.878e-05/0.5368, allocations: 180.2 kB / 0.8449 GB, free: 7.367 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-05/0.5369, allocations: 180.2 kB / 0.8451 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-05/0.5369, allocations: 184.3 kB / 0.8453 GB, free: 6.996 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.5373, allocations: 481.1 kB / 0.8457 GB, free: 6.469 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.312e-05/0.5373, allocations: 108.9 kB / 0.8458 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.5373, allocations: 101 kB / 0.8459 GB, free: 6.25 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.013e-05/0.5374, allocations: 184.2 kB / 0.8461 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.5375, allocations: 184.3 kB / 0.8463 GB, free: 5.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.907e-05/0.5375, allocations: 176.3 kB / 0.8464 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.704e-05/0.5376, allocations: 184.1 kB / 0.8466 GB, free: 5.508 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.5377, allocations: 335.5 kB / 0.8469 GB, free: 5.156 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.5379, allocations: 202.2 kB / 0.8471 GB, free: 4.934 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.538, allocations: 180.2 kB / 0.8473 GB, free: 4.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.5381, allocations: 109 kB / 0.8474 GB, free: 4.637 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.034e-05/0.5382, allocations: 184.3 kB / 0.8476 GB, free: 4.449 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.5382, allocations: 104.9 kB / 0.8477 GB, free: 4.34 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002375/0.5385, allocations: 225.9 kB / 0.8479 GB, free: 4.121 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5385, allocations: 0 / 0.8479 GB, free: 4.121 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003628/0.5388, allocations: 47.89 kB / 0.8479 GB, free: 4.074 MB / 0.67 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.0005025/0.5393, allocations: 0.8567 MB / 0.8488 GB, free: 3.191 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.5396, allocations: 87.77 kB / 0.8489 GB, free: 3.105 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5396, allocations: 0 / 0.8489 GB, free: 3.105 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 4.459e-06/0.5396, allocations: 7.938 kB / 0.8489 GB, free: 3.098 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.5401, allocations: 487.6 kB / 0.8493 GB, free: 2.621 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.5426, allocations: 2.492 MB / 0.8518 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.5429, allocations: 0.7437 MB / 0.8525 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.543, allocations: 37.88 kB / 0.8525 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.5431, allocations: 51.42 kB / 0.8526 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of SimCode: time 2.31e-07/0.5431, allocations: 0 / 0.8526 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.5662, allocations: 4.036 MB / 0.8565 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.547/8.113, allocations: 14.52 kB / 0.8565 GB, free: 11.12 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)