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.004317/0.004317, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001013/0.001013, allocations: 188.9 kB / 16.67 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7105/0.7105, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 71.61 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1654, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.532/0.6975, allocations: 170.3 MB / 0.8255 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.7029, allocations: 6.009 MB / 0.8314 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002458/0.7032, allocations: 9.812 kB / 0.8314 GB, free: 2.805 MB / 0.6387 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.0006102/0.7038, allocations: 193.7 kB / 0.8316 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002693/0.7041, allocations: 84.69 kB / 0.8316 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.7051, allocations: 0.5249 MB / 0.8322 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.7055, allocations: 416 kB / 0.8326 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.7058, allocations: 132.2 kB / 0.8327 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.7061, allocations: 191.6 kB / 0.8329 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.7063, allocations: 151.5 kB / 0.833 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.7063, allocations: 16.56 kB / 0.833 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.707, allocations: 454.9 kB / 0.8335 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 9.385e-05/0.7072, allocations: 69.67 kB / 0.8335 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.7073, allocations: 104.4 kB / 0.8336 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.7079, allocations: 453.3 kB / 0.8341 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.708, allocations: 1.375 kB / 0.8341 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.874e-06/0.708, allocations: 1.781 kB / 0.8341 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.708, allocations: 0 / 0.8341 GB, free: 2.73 MB / 0.6387 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.0005137/0.7085, allocations: 0.5217 MB / 0.8346 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.7085, allocations: 10.12 kB / 0.8346 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.042e-05/0.7086, allocations: 58.02 kB / 0.8346 GB, free: 2.266 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002484/0.7089, allocations: 52.5 kB / 0.8347 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.7092, allocations: 266.5 kB / 0.8349 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.7093, allocations: 130.7 kB / 0.8351 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.7093, allocations: 21.69 kB / 0.8351 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.7097, allocations: 294.7 kB / 0.8354 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7097, allocations: 1.094 kB / 0.8354 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.7098, allocations: 10.41 kB / 0.8354 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.7098, allocations: 11.86 kB / 0.8354 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.71, allocations: 156.8 kB / 0.8355 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.7112, allocations: 1.587 MB / 0.8371 GB, free: 16.5 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.82e-05/0.7113, allocations: 172.5 kB / 0.8372 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.077e-05/0.7113, allocations: 82.2 kB / 0.8373 GB, free: 16.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.7114, allocations: 80.09 kB / 0.8374 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.7114, allocations: 108 kB / 0.8375 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.7114, allocations: 0 / 0.8375 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 8.518e-05/0.7115, allocations: 46.23 kB / 0.8375 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7116, allocations: 131.9 kB / 0.8377 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.7119, allocations: 319.8 kB / 0.838 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.7119, allocations: 25.7 kB / 0.838 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.941e-05/0.712, allocations: 185.2 kB / 0.8382 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.887e-06/0.712, allocations: 1.156 kB / 0.8382 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.7121, allocations: 47.16 kB / 0.8382 GB, free: 15.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7122, allocations: 330.9 kB / 0.8385 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.805e-05/0.7123, allocations: 36.27 kB / 0.8386 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.7124, allocations: 163 kB / 0.8387 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.7126, allocations: 198.5 kB / 0.8389 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7126, allocations: 7.734 kB / 0.8389 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003747/0.713, allocations: 215.8 kB / 0.8391 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.713, allocations: 11.72 kB / 0.8391 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.713, allocations: 3.531 kB / 0.8391 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.713, allocations: 9.688 kB / 0.8392 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.7132, allocations: 41.52 kB / 0.8392 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7132, allocations: 10.41 kB / 0.8392 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.7133, allocations: 26 kB / 0.8392 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.7134, allocations: 17.34 kB / 0.8392 GB, free: 14.89 MB / 0.6544 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.0001278/0.7135, allocations: 220.3 kB / 0.8395 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.7136, allocations: 125.1 kB / 0.8396 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.7136, allocations: 124.1 kB / 0.8397 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.306e-05/0.7137, allocations: 178.2 kB / 0.8399 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.307e-05/0.7138, allocations: 185.2 kB / 0.84 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.146e-05/0.7138, allocations: 180.5 kB / 0.8402 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.7141, allocations: 485 kB / 0.8407 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.984e-05/0.7141, allocations: 104.3 kB / 0.8408 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.7142, allocations: 106.3 kB / 0.8409 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-05/0.7142, allocations: 180.4 kB / 0.841 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.7143, allocations: 181.6 kB / 0.8412 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-05/0.7143, allocations: 185.3 kB / 0.8414 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.998e-05/0.7144, allocations: 187 kB / 0.8416 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.7145, allocations: 321.5 kB / 0.8419 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.736e-05/0.7146, allocations: 208 kB / 0.8421 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.237e-05/0.7147, allocations: 186.8 kB / 0.8423 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.7148, allocations: 101.9 kB / 0.8424 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.7149, allocations: 188.3 kB / 0.8425 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.7149, allocations: 102.9 kB / 0.8426 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002089/0.7151, allocations: 219.8 kB / 0.8428 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7151, allocations: 0.9375 kB / 0.8428 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003287/0.7155, allocations: 54.09 kB / 0.8429 GB, free: 11.36 MB / 0.6544 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.000475/0.7159, allocations: 0.857 MB / 0.8437 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001766/0.7161, allocations: 84.59 kB / 0.8438 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7161, allocations: 0.8438 kB / 0.8438 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.7161, allocations: 1.375 kB / 0.8438 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.7166, allocations: 492.6 kB / 0.8443 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.7188, allocations: 2.501 MB / 0.8467 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.7191, allocations: 0.7441 MB / 0.8475 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.7192, allocations: 35.95 kB / 0.8475 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.7193, allocations: 52.23 kB / 0.8475 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7193, allocations: 2.562 kB / 0.8475 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.7377, allocations: 4.076 MB / 0.8515 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/7.968, allocations: 6.953 kB / 0.8515 GB, free: 7.25 MB / 0.6544 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)