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.004879/0.00488, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001276/0.001276, allocations: 203.9 kB / 16.68 MB, free: 5.977 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9781/0.9781, allocations: 135.6 MB / 426.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.89 kB / 0.5857 GB, free: 3.223 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3384, allocations: 81.02 MB / 0.6649 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1931/0.5315, allocations: 170.3 MB / 0.8312 GB, free: 5.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.007147/0.5387, allocations: 6.01 MB / 0.8371 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002021/0.539, allocations: 7.844 kB / 0.8371 GB, free: 15.94 MB / 0.67 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.0005745/0.5396, allocations: 186.7 kB / 0.8373 GB, free: 15.76 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.5398, allocations: 91.38 kB / 0.8373 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.541, allocations: 0.5177 MB / 0.8378 GB, free: 15.15 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004966/0.5415, allocations: 418.7 kB / 0.8382 GB, free: 14.74 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.5418, allocations: 135.6 kB / 0.8384 GB, free: 14.6 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002974/0.5421, allocations: 187.2 kB / 0.8386 GB, free: 14.42 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.5423, allocations: 151.4 kB / 0.8387 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.362e-05/0.5423, allocations: 16 kB / 0.8387 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.5431, allocations: 462.8 kB / 0.8392 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.249e-05/0.5433, allocations: 71.81 kB / 0.8392 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.5434, allocations: 99.48 kB / 0.8393 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006619/0.544, allocations: 459.5 kB / 0.8398 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5441, allocations: 0 / 0.8398 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5441, allocations: 0 / 0.8398 GB, free: 13.18 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.5441, allocations: 0 / 0.8398 GB, free: 13.18 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.0006277/0.5447, allocations: 0.518 MB / 0.8403 GB, free: 12.62 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.5448, allocations: 8.031 kB / 0.8403 GB, free: 12.61 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.5448, allocations: 62.53 kB / 0.8403 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.5451, allocations: 51.84 kB / 0.8404 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.5455, allocations: 258.7 kB / 0.8406 GB, free: 12.2 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.5456, allocations: 139.3 kB / 0.8408 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.5457, allocations: 16 kB / 0.8408 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.5462, allocations: 294.8 kB / 0.8411 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.5462, allocations: 4 kB / 0.8411 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.5462, allocations: 12 kB / 0.8411 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5462, allocations: 8 kB / 0.8411 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.5466, allocations: 160.6 kB / 0.8412 GB, free: 11.52 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.5481, allocations: 1.587 MB / 0.8428 GB, free: 9.84 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5482, allocations: 181 kB / 0.843 GB, free: 9.652 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.5482, allocations: 80.14 kB / 0.843 GB, free: 9.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.5483, allocations: 79.28 kB / 0.8431 GB, free: 9.492 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.5483, allocations: 105.8 kB / 0.8432 GB, free: 9.379 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.5483, allocations: 0 / 0.8432 GB, free: 9.379 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.574e-05/0.5484, allocations: 45.56 kB / 0.8432 GB, free: 9.328 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.5485, allocations: 134.6 kB / 0.8434 GB, free: 9.184 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/0.5489, allocations: 310.6 kB / 0.8437 GB, free: 8.867 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.5489, allocations: 25.7 kB / 0.8437 GB, free: 8.836 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.5491, allocations: 195.6 kB / 0.8439 GB, free: 8.641 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.5491, allocations: 4 kB / 0.8439 GB, free: 8.637 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.5492, allocations: 41.66 kB / 0.8439 GB, free: 8.59 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.5493, allocations: 334.8 kB / 0.8442 GB, free: 8.254 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.832e-05/0.5494, allocations: 39.98 kB / 0.8443 GB, free: 8.215 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.5496, allocations: 157.1 kB / 0.8444 GB, free: 8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.5499, allocations: 200.8 kB / 0.8446 GB, free: 7.742 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.5499, allocations: 0 / 0.8446 GB, free: 7.742 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004286/0.5504, allocations: 221 kB / 0.8448 GB, free: 7.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5504, allocations: 8 kB / 0.8448 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5504, allocations: 4 kB / 0.8448 GB, free: 7.508 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5504, allocations: 8 kB / 0.8449 GB, free: 7.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5506, allocations: 36.55 kB / 0.8449 GB, free: 7.465 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5506, allocations: 11.94 kB / 0.8449 GB, free: 7.453 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.5508, allocations: 31.78 kB / 0.8449 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.5508, allocations: 12 kB / 0.8449 GB, free: 7.41 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.0001676/0.551, allocations: 220.9 kB / 0.8452 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.5511, allocations: 128.9 kB / 0.8453 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.238e-05/0.5512, allocations: 125.8 kB / 0.8454 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.858e-05/0.5512, allocations: 180.3 kB / 0.8456 GB, free: 6.742 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-05/0.5513, allocations: 188.2 kB / 0.8457 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.127e-05/0.5514, allocations: 176.3 kB / 0.8459 GB, free: 6.371 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.5518, allocations: 485.1 kB / 0.8464 GB, free: 5.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.587e-05/0.5518, allocations: 104.9 kB / 0.8465 GB, free: 5.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.273e-05/0.5519, allocations: 101 kB / 0.8466 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.057e-05/0.552, allocations: 192.1 kB / 0.8468 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.559e-05/0.5521, allocations: 180.2 kB / 0.8469 GB, free: 5.246 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-05/0.5522, allocations: 176.3 kB / 0.8471 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.976e-05/0.5523, allocations: 180.2 kB / 0.8473 GB, free: 4.883 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.5524, allocations: 331.6 kB / 0.8476 GB, free: 4.535 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.5526, allocations: 202.2 kB / 0.8478 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.5527, allocations: 188.2 kB / 0.848 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5528, allocations: 108.9 kB / 0.8481 GB, free: 4.008 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.5529, allocations: 188.3 kB / 0.8482 GB, free: 3.816 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.136e-05/0.553, allocations: 104.9 kB / 0.8483 GB, free: 3.707 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000264/0.5533, allocations: 221.9 kB / 0.8486 GB, free: 3.492 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5533, allocations: 0 / 0.8486 GB, free: 3.492 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003697/0.5536, allocations: 59.88 kB / 0.8486 GB, free: 3.434 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.0006024/0.5543, allocations: 0.8554 MB / 0.8494 GB, free: 2.551 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.5545, allocations: 84.64 kB / 0.8495 GB, free: 2.469 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5545, allocations: 0 / 0.8495 GB, free: 2.469 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.5545, allocations: 0 / 0.8495 GB, free: 2.469 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005392/0.555, allocations: 492.1 kB / 0.85 GB, free: 1.984 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.5579, allocations: 2.5 MB / 0.8524 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.5583, allocations: 0.7398 MB / 0.8532 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001224/0.5584, allocations: 33.94 kB / 0.8532 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.5585, allocations: 55.42 kB / 0.8532 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of SimCode: time 2.8e-07/0.5585, allocations: 0 / 0.8532 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.5833, allocations: 4.054 MB / 0.8572 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.756/8.339, allocations: 336 / 0.8572 GB, free: 10.48 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)