Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.0065/0.0065, allocations: 100.9 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.001378/0.001378, allocations: 192.5 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7398/0.7398, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.28 kB / 0.5809 GB, free: 1.285 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1623, allocations: 80.22 MB / 0.6592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.525/0.6874, allocations: 174 MB / 0.8292 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.007899/0.6954, allocations: 9.522 MB / 0.8385 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003461/0.6957, allocations: 9.031 kB / 0.8385 GB, free: 3.164 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 (3) 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 (3) 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.0006023/0.6964, allocations: 191.7 kB / 0.8387 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.6966, allocations: 90.77 kB / 0.8388 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.6968, allocations: 65.83 kB / 0.8388 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.6971, allocations: 333.9 kB / 0.8391 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.6975, allocations: 204.1 kB / 0.8393 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.6978, allocations: 166.8 kB / 0.8395 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.6979, allocations: 128.7 kB / 0.8396 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.698, allocations: 22.88 kB / 0.8396 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 3.912e-05/0.698, allocations: 21.34 kB / 0.8397 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.6981, allocations: 72.81 kB / 0.8397 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.6982, allocations: 125.5 kB / 0.8398 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.6985, allocations: 298.4 kB / 0.8401 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6985, allocations: 0.7812 kB / 0.8401 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6985, allocations: 0 / 0.8401 GB, free: 3.105 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.6985, allocations: 2.125 kB / 0.8401 GB, free: 3.105 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004177/0.699, allocations: 0.505 MB / 0.8406 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.699, allocations: 13.39 kB / 0.8406 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.6991, allocations: 63.45 kB / 0.8407 GB, free: 2.648 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.6991, allocations: 30.56 kB / 0.8407 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.6994, allocations: 274.7 kB / 0.841 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.6995, allocations: 18.88 kB / 0.841 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.6995, allocations: 27.31 kB / 0.841 GB, free: 2.418 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.6999, allocations: 322.2 kB / 0.8413 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.6999, allocations: 2.188 kB / 0.8413 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.6999, allocations: 17.47 kB / 0.8414 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.7, allocations: 7.125 kB / 0.8414 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.7002, allocations: 140.2 kB / 0.8415 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.7012, allocations: 1.819 MB / 0.8433 GB, free: 16.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.7013, allocations: 167.5 kB / 0.8434 GB, free: 16.63 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.991e-05/0.7013, allocations: 85.33 kB / 0.8435 GB, free: 16.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.7013, allocations: 78.47 kB / 0.8436 GB, free: 16.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.7014, allocations: 108 kB / 0.8437 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.7014, allocations: 0 / 0.8437 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 9.4e-05/0.7015, allocations: 57.77 kB / 0.8437 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.7016, allocations: 130.6 kB / 0.8439 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.7019, allocations: 374.3 kB / 0.8442 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.702, allocations: 29.64 kB / 0.8443 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.7021, allocations: 168.7 kB / 0.8444 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.7021, allocations: 2.766 kB / 0.8444 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/0.7021, allocations: 19.41 kB / 0.8444 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7022, allocations: 335.3 kB / 0.8448 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.7023, allocations: 9.234 kB / 0.8448 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.7023, allocations: 35.55 kB / 0.8448 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.747e-05/0.7023, allocations: 43.88 kB / 0.8448 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7024, allocations: 2.25 kB / 0.8448 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001433/0.7025, allocations: 92.08 kB / 0.8449 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7025, allocations: 7.766 kB / 0.8449 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.7025, allocations: 2.5 kB / 0.8449 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7026, allocations: 1.375 kB / 0.8449 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.7026, allocations: 13.39 kB / 0.845 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.7026, allocations: 6.188 kB / 0.845 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.7027, allocations: 23.94 kB / 0.845 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.7027, allocations: 7.047 kB / 0.845 GB, free: 15.46 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001362/0.7029, allocations: 216.7 kB / 0.8452 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.7029, allocations: 131.4 kB / 0.8453 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.416e-05/0.703, allocations: 130.9 kB / 0.8454 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.906e-05/0.7031, allocations: 181.6 kB / 0.8456 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.665e-05/0.7032, allocations: 183.4 kB / 0.8458 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.474e-05/0.7032, allocations: 181.3 kB / 0.846 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.7035, allocations: 492.8 kB / 0.8464 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-05/0.7036, allocations: 103.6 kB / 0.8465 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.676e-05/0.7036, allocations: 108.1 kB / 0.8466 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.877e-05/0.7037, allocations: 178.5 kB / 0.8468 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.7038, allocations: 183.6 kB / 0.847 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-05/0.7039, allocations: 182.4 kB / 0.8472 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-05/0.7039, allocations: 184.3 kB / 0.8473 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.7041, allocations: 332.5 kB / 0.8477 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.7042, allocations: 214.4 kB / 0.8479 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.884e-05/0.7043, allocations: 181.8 kB / 0.848 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-05/0.7044, allocations: 109.5 kB / 0.8481 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.7045, allocations: 180.8 kB / 0.8483 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.7045, allocations: 107.6 kB / 0.8484 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002548/0.7048, allocations: 269.2 kB / 0.8487 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7048, allocations: 1.062 kB / 0.8487 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002486/0.705, allocations: 31.66 kB / 0.8487 GB, free: 11.92 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.0004236/0.7055, allocations: 0.8287 MB / 0.8495 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.81e-05/0.7056, allocations: 19.78 kB / 0.8495 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7056, allocations: 2.156 kB / 0.8495 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.7056, allocations: 0 / 0.8495 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.7063, allocations: 0.5559 MB / 0.8501 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/0.7088, allocations: 2.681 MB / 0.8527 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.7091, allocations: 0.7559 MB / 0.8534 GB, free: 8.438 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 9.714e-05/0.7092, allocations: 36.36 kB / 0.8535 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.175e-05/0.7093, allocations: 74.83 kB / 0.8535 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7093, allocations: 1.031 kB / 0.8535 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.7313, allocations: 5.98 MB / 0.8594 GB, free: 7.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/8.068, allocations: 16.02 kB / 0.8594 GB, free: 7.965 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)