Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="IDEAS_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.005154/0.005154, allocations: 97.56 kB / 15.73 MB, free: 6.035 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.001203/0.001203, allocations: 201.2 kB / 16.68 MB, free: 5.961 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.2/1.2, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.693/0.693, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 71.89 kB / 0.5809 GB, free: 8.035 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.354, allocations: 80.21 MB / 0.6592 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1619/0.5159, allocations: 170.3 MB / 0.8255 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005215/0.5211, allocations: 5.999 MB / 0.8314 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.5213, allocations: 8 kB / 0.8314 GB, free: 5.227 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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/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/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.0005297/0.5219, allocations: 194.7 kB / 0.8316 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.5221, allocations: 99.38 kB / 0.8317 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000932/0.5231, allocations: 0.5294 MB / 0.8322 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.5235, allocations: 422.7 kB / 0.8326 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.5237, allocations: 135.2 kB / 0.8327 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.524, allocations: 187.3 kB / 0.8329 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001799/0.5242, allocations: 155.3 kB / 0.833 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.5242, allocations: 20 kB / 0.8331 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.5248, allocations: 466.8 kB / 0.8335 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.5249, allocations: 63.83 kB / 0.8336 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.525, allocations: 103.5 kB / 0.8337 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005091/0.5255, allocations: 455.3 kB / 0.8341 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5255, allocations: 0 / 0.8341 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5256, allocations: 0 / 0.8341 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5256, allocations: 0 / 0.8341 GB, free: 2.434 MB / 0.6544 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.0005144/0.5261, allocations: 0.518 MB / 0.8346 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.5261, allocations: 12.03 kB / 0.8346 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.5262, allocations: 62.53 kB / 0.8347 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.5264, allocations: 47.84 kB / 0.8347 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.5268, allocations: 262.6 kB / 0.835 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.5269, allocations: 139.3 kB / 0.8351 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.5269, allocations: 20 kB / 0.8351 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.5273, allocations: 290.8 kB / 0.8354 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5274, allocations: 4 kB / 0.8354 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.5274, allocations: 8 kB / 0.8354 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.5274, allocations: 8 kB / 0.8354 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.5277, allocations: 164.6 kB / 0.8356 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.5288, allocations: 1.587 MB / 0.8371 GB, free: 15.09 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.101e-05/0.5289, allocations: 169.1 kB / 0.8373 GB, free: 14.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.5289, allocations: 88.14 kB / 0.8374 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.529, allocations: 79.22 kB / 0.8374 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.529, allocations: 109.8 kB / 0.8376 GB, free: 14.62 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.529, allocations: 7.938 kB / 0.8376 GB, free: 14.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.865e-05/0.5291, allocations: 49.5 kB / 0.8376 GB, free: 14.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.5291, allocations: 126.7 kB / 0.8377 GB, free: 14.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.5295, allocations: 314.6 kB / 0.838 GB, free: 14.11 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-06/0.5295, allocations: 25.7 kB / 0.8381 GB, free: 14.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 9.614e-05/0.5296, allocations: 191.7 kB / 0.8382 GB, free: 13.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-06/0.5296, allocations: 4 kB / 0.8382 GB, free: 13.88 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.5297, allocations: 41.66 kB / 0.8383 GB, free: 13.84 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.5298, allocations: 334.8 kB / 0.8386 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.5298, allocations: 39.97 kB / 0.8386 GB, free: 13.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.53, allocations: 161.1 kB / 0.8388 GB, free: 13.24 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.5302, allocations: 192.9 kB / 0.839 GB, free: 12.99 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5302, allocations: 0 / 0.839 GB, free: 12.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003568/0.5305, allocations: 225 kB / 0.8392 GB, free: 12.77 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.5306, allocations: 8.625 kB / 0.8392 GB, free: 12.76 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.5306, allocations: 8 kB / 0.8392 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5306, allocations: 8 kB / 0.8392 GB, free: 12.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.5307, allocations: 35.92 kB / 0.8392 GB, free: 12.71 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5308, allocations: 4 kB / 0.8392 GB, free: 12.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.5309, allocations: 35.73 kB / 0.8393 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.531, allocations: 12 kB / 0.8393 GB, free: 12.66 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.0001144/0.5311, allocations: 221.6 kB / 0.8395 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.5312, allocations: 124.9 kB / 0.8396 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.5312, allocations: 129.8 kB / 0.8397 GB, free: 12.17 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/0.5313, allocations: 180.2 kB / 0.8399 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.676e-05/0.5313, allocations: 184.2 kB / 0.8401 GB, free: 11.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/0.5314, allocations: 176.3 kB / 0.8403 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.5316, allocations: 485 kB / 0.8407 GB, free: 11.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/0.5317, allocations: 109 kB / 0.8408 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.5317, allocations: 104.9 kB / 0.8409 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.645e-05/0.5317, allocations: 180.3 kB / 0.8411 GB, free: 10.68 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.5318, allocations: 176.3 kB / 0.8413 GB, free: 10.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.766e-05/0.5319, allocations: 184.2 kB / 0.8414 GB, free: 10.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.018e-05/0.5319, allocations: 176.3 kB / 0.8416 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.532, allocations: 335.5 kB / 0.8419 GB, free: 9.785 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.5321, allocations: 202.2 kB / 0.8421 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.5322, allocations: 188.2 kB / 0.8423 GB, free: 9.371 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.5323, allocations: 105 kB / 0.8424 GB, free: 9.262 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.5324, allocations: 192.2 kB / 0.8426 GB, free: 9.066 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.5324, allocations: 101 kB / 0.8427 GB, free: 8.961 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002032/0.5326, allocations: 217.9 kB / 0.8429 GB, free: 8.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5326, allocations: 0 / 0.8429 GB, free: 8.75 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003206/0.533, allocations: 59.83 kB / 0.843 GB, free: 8.691 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.0004378/0.5334, allocations: 0.8592 MB / 0.8438 GB, free: 7.805 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.5336, allocations: 83.78 kB / 0.8439 GB, free: 7.723 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.5336, allocations: 0 / 0.8439 GB, free: 7.723 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.5336, allocations: 4 kB / 0.8439 GB, free: 7.719 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.534, allocations: 493.5 kB / 0.8443 GB, free: 7.234 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5362, allocations: 2.506 MB / 0.8468 GB, free: 4.535 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.5364, allocations: 0.7398 MB / 0.8475 GB, free: 3.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.5366, allocations: 33.94 kB / 0.8475 GB, free: 3.738 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.5366, allocations: 55.42 kB / 0.8476 GB, free: 3.684 MB / 0.67 GB Notification: Performance of SimCode: time 1.91e-07/0.5367, allocations: 0 / 0.8476 GB, free: 3.684 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.5543, allocations: 4.035 MB / 0.8515 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.919/7.474, allocations: 7.031 kB / 0.8515 GB, free: 15.77 MB / 0.6856 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)