Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="IDEAS_dev_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.006301/0.006301, allocations: 97.75 kB / 15.73 MB, free: 5.996 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.001039/0.001039, allocations: 186.7 kB / 16.67 MB, free: 5.926 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.275/1.275, 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-master/package.mo): time 0.894/0.894, allocations: 135.6 MB / 426.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 0.5858 GB, free: 3.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3174, allocations: 81.03 MB / 0.6649 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1834/0.5009, allocations: 174 MB / 0.8349 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00969/0.5106, allocations: 9.526 MB / 0.8442 GB, free: 8.699 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.5108, allocations: 11.94 kB / 0.8442 GB, free: 8.688 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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-master/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-master/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.0005125/0.5113, allocations: 190.7 kB / 0.8444 GB, free: 8.5 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.5116, allocations: 91.31 kB / 0.8444 GB, free: 8.41 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.5117, allocations: 63.92 kB / 0.8445 GB, free: 8.348 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003808/0.5121, allocations: 330.6 kB / 0.8448 GB, free: 8.023 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.5124, allocations: 204.8 kB / 0.845 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003153/0.5128, allocations: 167.4 kB / 0.8452 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.5129, allocations: 123.4 kB / 0.8453 GB, free: 7.535 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.513, allocations: 20 kB / 0.8453 GB, free: 7.516 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.828e-05/0.513, allocations: 24 kB / 0.8453 GB, free: 7.492 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 8.825e-05/0.5131, allocations: 75.75 kB / 0.8454 GB, free: 7.418 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.5132, allocations: 123.4 kB / 0.8455 GB, free: 7.297 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.5135, allocations: 299.9 kB / 0.8458 GB, free: 7.004 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5136, allocations: 0 / 0.8458 GB, free: 7.004 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5136, allocations: 4 kB / 0.8458 GB, free: 7 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.5136, allocations: 0 / 0.8458 GB, free: 7 MB / 0.67 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.0005287/0.5141, allocations: 0.5259 MB / 0.8463 GB, free: 6.426 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.5141, allocations: 8.031 kB / 0.8463 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.627e-05/0.5142, allocations: 58.55 kB / 0.8464 GB, free: 6.352 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.5143, allocations: 27.86 kB / 0.8464 GB, free: 6.324 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.5146, allocations: 286.4 kB / 0.8467 GB, free: 6.004 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.5147, allocations: 16.56 kB / 0.8467 GB, free: 5.988 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.5147, allocations: 32 kB / 0.8467 GB, free: 5.957 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.5151, allocations: 327.9 kB / 0.8471 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5152, allocations: 7.938 kB / 0.8471 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.5152, allocations: 12 kB / 0.8471 GB, free: 5.574 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.5152, allocations: 4 kB / 0.8471 GB, free: 5.57 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.5154, allocations: 139.8 kB / 0.8472 GB, free: 5.434 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.5168, allocations: 1.824 MB / 0.849 GB, free: 3.512 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.076e-05/0.5169, allocations: 177.1 kB / 0.8492 GB, free: 3.328 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.5169, allocations: 80.14 kB / 0.8492 GB, free: 3.246 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.553e-05/0.517, allocations: 79.28 kB / 0.8493 GB, free: 3.168 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.517, allocations: 113.8 kB / 0.8494 GB, free: 3.047 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.517, allocations: 0 / 0.8494 GB, free: 3.047 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.437e-05/0.5171, allocations: 53.52 kB / 0.8495 GB, free: 2.988 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.5172, allocations: 126.7 kB / 0.8496 GB, free: 2.852 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.5176, allocations: 377.7 kB / 0.85 GB, free: 2.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.5176, allocations: 29.64 kB / 0.85 GB, free: 2.445 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.5178, allocations: 171.9 kB / 0.8501 GB, free: 2.273 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.5178, allocations: 4 kB / 0.8501 GB, free: 2.27 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.5178, allocations: 17.72 kB / 0.8502 GB, free: 2.246 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.518, allocations: 338.8 kB / 0.8505 GB, free: 1.906 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.518, allocations: 8 kB / 0.8505 GB, free: 1.898 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.518, allocations: 36.28 kB / 0.8505 GB, free: 1.848 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.836e-05/0.5181, allocations: 48.23 kB / 0.8506 GB, free: 1.785 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.5181, allocations: 0 / 0.8506 GB, free: 1.785 MB / 0.67 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001415/0.5182, allocations: 85.38 kB / 0.8507 GB, free: 1.695 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.5183, allocations: 12.16 kB / 0.8507 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5183, allocations: 0 / 0.8507 GB, free: 1.684 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5183, allocations: 4 kB / 0.8507 GB, free: 1.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.967e-05/0.5183, allocations: 7.938 kB / 0.8507 GB, free: 1.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5183, allocations: 7.984 kB / 0.8507 GB, free: 1.664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.5184, allocations: 27.78 kB / 0.8507 GB, free: 1.637 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.5184, allocations: 0 / 0.8507 GB, free: 1.637 MB / 0.67 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.0001426/0.5186, allocations: 217 kB / 0.8509 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.5187, allocations: 136.8 kB / 0.8511 GB, free: 1.273 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.07e-05/0.5187, allocations: 123 kB / 0.8512 GB, free: 1.145 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.237e-05/0.5188, allocations: 188.2 kB / 0.8513 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.175e-05/0.5189, allocations: 176.3 kB / 0.8515 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.754e-05/0.519, allocations: 180.2 kB / 0.8517 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.5193, allocations: 0.4893 MB / 0.8522 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.367e-05/0.5194, allocations: 101 kB / 0.8523 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.5194, allocations: 104.9 kB / 0.8524 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.605e-05/0.5195, allocations: 176.3 kB / 0.8525 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.1e-05/0.5196, allocations: 184.2 kB / 0.8527 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.521e-05/0.5197, allocations: 188.3 kB / 0.8529 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.049e-05/0.5197, allocations: 180.3 kB / 0.8531 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.5199, allocations: 331.5 kB / 0.8534 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.52, allocations: 217.8 kB / 0.8536 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.5201, allocations: 180.5 kB / 0.8538 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5202, allocations: 105 kB / 0.8539 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.09e-05/0.5203, allocations: 188.2 kB / 0.854 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.276e-05/0.5204, allocations: 101.1 kB / 0.8541 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002869/0.5207, allocations: 275.1 kB / 0.8544 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5207, allocations: 0 / 0.8544 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002492/0.5209, allocations: 31.94 kB / 0.8544 GB, free: 13.61 MB / 0.6856 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.0004288/0.5214, allocations: 0.8398 MB / 0.8552 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.095e-05/0.5214, allocations: 11.94 kB / 0.8553 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5214, allocations: 0 / 0.8553 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.5215, allocations: 0 / 0.8553 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.5223, allocations: 0.5558 MB / 0.8558 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.525, allocations: 2.687 MB / 0.8584 GB, free: 9.387 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.5254, allocations: 0.7558 MB / 0.8592 GB, free: 8.602 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.847e-05/0.5254, allocations: 34.97 kB / 0.8592 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.575e-05/0.5255, allocations: 75.41 kB / 0.8593 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.5256, allocations: 0 / 0.8593 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8169/1.342, allocations: 5.903 MB / 0.865 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.99, allocations: 14.53 kB / 0.865 GB, free: 2.734 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)