Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.00751/0.00751, allocations: 96.97 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.001989/0.001989, allocations: 196.3 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.772/0.772, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 68.83 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5251/0.6758, allocations: 174 MB / 0.8291 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008902/0.6847, allocations: 9.518 MB / 0.8384 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004154/0.6852, allocations: 11.41 kB / 0.8384 GB, free: 3.211 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/FMI/Conversion/InletToAir.mo:80:3-82: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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007367/0.6859, allocations: 191.8 kB / 0.8386 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.6863, allocations: 94.19 kB / 0.8387 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.6865, allocations: 61.7 kB / 0.8387 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.6869, allocations: 325.4 kB / 0.839 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.6872, allocations: 149 kB / 0.8392 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003936/0.6876, allocations: 158.7 kB / 0.8393 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.6878, allocations: 106.5 kB / 0.8394 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.6878, allocations: 15.97 kB / 0.8395 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 5.035e-05/0.6879, allocations: 17.16 kB / 0.8395 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.6879, allocations: 36.48 kB / 0.8395 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.688, allocations: 107.3 kB / 0.8396 GB, free: 3.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.6883, allocations: 211.9 kB / 0.8398 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6883, allocations: 3.219 kB / 0.8398 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6883, allocations: 0 / 0.8398 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.6883, allocations: 0 / 0.8398 GB, free: 3.164 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.00041/0.6887, allocations: 476.9 kB / 0.8403 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6888, allocations: 10.44 kB / 0.8403 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.962e-05/0.6888, allocations: 53.81 kB / 0.8403 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.6889, allocations: 27.58 kB / 0.8404 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.6892, allocations: 266.9 kB / 0.8406 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.6893, allocations: 19.97 kB / 0.8406 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6893, allocations: 19.78 kB / 0.8406 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.6896, allocations: 231.8 kB / 0.8409 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.6896, allocations: 0 / 0.8409 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.6896, allocations: 10.59 kB / 0.8409 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6896, allocations: 5.5 kB / 0.8409 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.6898, allocations: 94.59 kB / 0.841 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007315/0.6905, allocations: 1.438 MB / 0.8424 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.6907, allocations: 169.5 kB / 0.8425 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.6907, allocations: 81.05 kB / 0.8426 GB, free: 16.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.6908, allocations: 84.25 kB / 0.8427 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.6908, allocations: 108.8 kB / 0.8428 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.6908, allocations: 0 / 0.8428 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001013/0.6909, allocations: 52.2 kB / 0.8428 GB, free: 16.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.691, allocations: 130.9 kB / 0.843 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.6913, allocations: 283.7 kB / 0.8432 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.6913, allocations: 25.7 kB / 0.8433 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.6914, allocations: 150.1 kB / 0.8434 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.186e-06/0.6914, allocations: 0 / 0.8434 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/0.6915, allocations: 18.48 kB / 0.8434 GB, free: 16.29 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6916, allocations: 332.5 kB / 0.8437 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.6916, allocations: 4.547 kB / 0.8438 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.6916, allocations: 29.16 kB / 0.8438 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.904e-05/0.6917, allocations: 37.31 kB / 0.8438 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6917, allocations: 1.125 kB / 0.8438 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001362/0.6918, allocations: 80.19 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6919, allocations: 7.438 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6919, allocations: 1.312 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6919, allocations: 2.344 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.6919, allocations: 9.312 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.692, allocations: 2.562 kB / 0.8439 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.692, allocations: 23.91 kB / 0.8439 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.692, allocations: 2.75 kB / 0.8439 GB, free: 15.85 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001224/0.6922, allocations: 203.4 kB / 0.8441 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.6922, allocations: 127.9 kB / 0.8443 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.6923, allocations: 126.9 kB / 0.8444 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.286e-05/0.6924, allocations: 181.6 kB / 0.8446 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.346e-05/0.6925, allocations: 183.8 kB / 0.8447 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/0.6926, allocations: 178 kB / 0.8449 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.6928, allocations: 471.3 kB / 0.8453 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.405e-05/0.6929, allocations: 109.9 kB / 0.8454 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.563e-05/0.6929, allocations: 108.6 kB / 0.8456 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.965e-05/0.693, allocations: 178.4 kB / 0.8457 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.6931, allocations: 181.3 kB / 0.8459 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-05/0.6932, allocations: 180.2 kB / 0.8461 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.243e-05/0.6933, allocations: 182.6 kB / 0.8462 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.6934, allocations: 331.6 kB / 0.8466 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.6935, allocations: 203.8 kB / 0.8468 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/0.6936, allocations: 181.4 kB / 0.8469 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6937, allocations: 102.5 kB / 0.847 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.6938, allocations: 188.2 kB / 0.8472 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.6939, allocations: 103.1 kB / 0.8473 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001788/0.694, allocations: 206.6 kB / 0.8475 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.694, allocations: 1.406 kB / 0.8475 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002304/0.6943, allocations: 26.11 kB / 0.8475 GB, free: 12.32 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.0004161/0.6947, allocations: 0.8294 MB / 0.8483 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.379e-05/0.6948, allocations: 16.56 kB / 0.8484 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.6948, allocations: 1.094 kB / 0.8484 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.6948, allocations: 0 / 0.8484 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.6955, allocations: 0.5337 MB / 0.8489 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001925/0.6975, allocations: 2.232 MB / 0.8511 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.6978, allocations: 0.7256 MB / 0.8518 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.116e-05/0.6979, allocations: 22.06 kB / 0.8518 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.6979, allocations: 54.77 kB / 0.8518 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.698, allocations: 192 / 0.8518 GB, free: 8.875 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/0.8768, allocations: 4.674 MB / 0.8564 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/9.054, allocations: 7.234 kB / 0.8564 GB, free: 8.438 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)