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.001194/0.001194, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001223/0.001223, allocations: 193.4 kB / 16.25 MB, free: 6.617 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.216/1.216, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6923/0.6923, allocations: 132.2 MB / 422.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 60.56 kB / 0.5014 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3144, allocations: 80.2 MB / 0.5797 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1635/0.478, allocations: 168.1 MB / 0.7438 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.4833, allocations: 5.937 MB / 0.7496 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.4834, allocations: 11.94 kB / 0.7496 GB, free: 3.129 MB / 0.5762 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.0004752/0.484, allocations: 162.1 kB / 0.7498 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.4842, allocations: 75.5 kB / 0.7498 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008585/0.4851, allocations: 0.4907 MB / 0.7503 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.4854, allocations: 418.7 kB / 0.7507 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.4857, allocations: 131.6 kB / 0.7508 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.4859, allocations: 187.3 kB / 0.751 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.4861, allocations: 151.4 kB / 0.7512 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.4861, allocations: 20 kB / 0.7512 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005793/0.4867, allocations: 466.7 kB / 0.7516 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.416e-05/0.4868, allocations: 75.8 kB / 0.7517 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.275e-05/0.4869, allocations: 103.5 kB / 0.7518 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.4874, allocations: 478.5 kB / 0.7522 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.4874, allocations: 0 / 0.7522 GB, free: 420 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4874, allocations: 0 / 0.7522 GB, free: 420 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4874, allocations: 0 / 0.7522 GB, free: 420 kB / 0.5762 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.0004962/0.4879, allocations: 0.5146 MB / 0.7527 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.488, allocations: 12.03 kB / 0.7528 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.488, allocations: 62.53 kB / 0.7528 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.4883, allocations: 43.7 kB / 0.7529 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.4885, allocations: 250.6 kB / 0.7531 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.4886, allocations: 139.3 kB / 0.7532 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.4887, allocations: 20 kB / 0.7532 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003859/0.4891, allocations: 298.8 kB / 0.7535 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.4891, allocations: 0 / 0.7535 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4891, allocations: 11.94 kB / 0.7535 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4891, allocations: 4 kB / 0.7535 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.4894, allocations: 160.6 kB / 0.7537 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.4905, allocations: 1.579 MB / 0.7552 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.4906, allocations: 177.1 kB / 0.7554 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.4906, allocations: 84.08 kB / 0.7555 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4906, allocations: 79.28 kB / 0.7556 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.4907, allocations: 105.8 kB / 0.7557 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4907, allocations: 0 / 0.7557 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 7.433e-05/0.4908, allocations: 57.33 kB / 0.7557 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.4908, allocations: 126.7 kB / 0.7558 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.4911, allocations: 310.6 kB / 0.7561 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.4911, allocations: 25.7 kB / 0.7562 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.4913, allocations: 195.1 kB / 0.7564 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.4913, allocations: 7.984 kB / 0.7564 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-05/0.4913, allocations: 45.56 kB / 0.7564 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.4914, allocations: 330.8 kB / 0.7567 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.4915, allocations: 39.97 kB / 0.7568 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4917, allocations: 155.2 kB / 0.7569 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.4919, allocations: 204.9 kB / 0.7571 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4919, allocations: 4 kB / 0.7571 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003544/0.4922, allocations: 213.3 kB / 0.7573 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4923, allocations: 8 kB / 0.7573 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4923, allocations: 7.938 kB / 0.7573 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.4923, allocations: 8 kB / 0.7573 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.4924, allocations: 35.92 kB / 0.7574 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.4924, allocations: 11.98 kB / 0.7574 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4926, allocations: 31.59 kB / 0.7574 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.4926, allocations: 16.34 kB / 0.7574 GB, free: 10.66 MB / 0.5919 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.0001129/0.4928, allocations: 218.5 kB / 0.7576 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.126e-05/0.4928, allocations: 132.7 kB / 0.7578 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.4929, allocations: 121.8 kB / 0.7579 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/0.4929, allocations: 180.3 kB / 0.758 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.086e-05/0.493, allocations: 180.2 kB / 0.7582 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.694e-05/0.4931, allocations: 184.2 kB / 0.7584 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.4933, allocations: 485.1 kB / 0.7589 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.4933, allocations: 104.9 kB / 0.759 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.4934, allocations: 109 kB / 0.7591 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.856e-05/0.4934, allocations: 180.2 kB / 0.7592 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.4935, allocations: 180.3 kB / 0.7594 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-05/0.4935, allocations: 176.3 kB / 0.7596 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.906e-05/0.4936, allocations: 188.2 kB / 0.7598 GB, free: 8.121 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4937, allocations: 323.5 kB / 0.7601 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.706e-05/0.4938, allocations: 205.8 kB / 0.7603 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4939, allocations: 188.2 kB / 0.7604 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.494, allocations: 105 kB / 0.7605 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.4941, allocations: 176.6 kB / 0.7607 GB, free: 7.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4941, allocations: 108.9 kB / 0.7608 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002004/0.4943, allocations: 217.9 kB / 0.761 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4943, allocations: 0 / 0.761 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003149/0.4946, allocations: 51.94 kB / 0.7611 GB, free: 6.699 MB / 0.5919 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.0004624/0.4951, allocations: 0.8631 MB / 0.7619 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.4953, allocations: 80.77 kB / 0.762 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4953, allocations: 0 / 0.762 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.4953, allocations: 4.188 kB / 0.762 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.4957, allocations: 492.2 kB / 0.7625 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4979, allocations: 2.57 MB / 0.765 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.4982, allocations: 0.7398 MB / 0.7657 GB, free: 1.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001326/0.4983, allocations: 37.11 kB / 0.7657 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.38e-05/0.4984, allocations: 59.42 kB / 0.7658 GB, free: 1.625 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.4984, allocations: 3.938 kB / 0.7658 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.495/2.993, allocations: 3.876 MB / 0.7696 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/2.993, allocations: 190.5 kB / 0.7698 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.058/5.051, allocations: 0 / 0.7698 GB, free: 13.63 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)