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.0007341/0.0007341, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004352/0.004352, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.192/1.192, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8362/0.8362, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 16 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 82.31 MB / 0.5881 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.3894/0.5205, allocations: 169.6 MB / 0.7537 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008156/0.5287, allocations: 9.39 MB / 0.7629 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002166/0.5289, allocations: 6.344 kB / 0.7629 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.5293, allocations: 160 kB / 0.763 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.5296, allocations: 79.88 kB / 0.7631 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.5297, allocations: 61.77 kB / 0.7632 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.53, allocations: 387.2 kB / 0.7635 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.5303, allocations: 191.9 kB / 0.7637 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.5306, allocations: 123.4 kB / 0.7638 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.5307, allocations: 95.39 kB / 0.7639 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.5307, allocations: 12 kB / 0.7639 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.042e-05/0.5308, allocations: 4 kB / 0.7639 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.5308, allocations: 47.83 kB / 0.764 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.5309, allocations: 129 kB / 0.7641 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.5312, allocations: 262.9 kB / 0.7643 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5312, allocations: 0 / 0.7643 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5312, allocations: 0 / 0.7643 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.5312, allocations: 4 kB / 0.7644 GB, free: 7.898 MB / 0.5762 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.0003924/0.5316, allocations: 475 kB / 0.7648 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.5316, allocations: 12.03 kB / 0.7648 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.61e-05/0.5317, allocations: 66.53 kB / 0.7649 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.5317, allocations: 27.66 kB / 0.7649 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.532, allocations: 262.5 kB / 0.7652 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.532, allocations: 20.56 kB / 0.7652 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.5321, allocations: 24 kB / 0.7652 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004086/0.5325, allocations: 323.9 kB / 0.7655 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.5325, allocations: 4 kB / 0.7655 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.5325, allocations: 8 kB / 0.7655 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.5325, allocations: 11.94 kB / 0.7655 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.5327, allocations: 143.7 kB / 0.7657 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.5339, allocations: 1.816 MB / 0.7674 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.651e-05/0.534, allocations: 177 kB / 0.7676 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.534, allocations: 80.25 kB / 0.7677 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.5341, allocations: 83.22 kB / 0.7678 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.5341, allocations: 109.8 kB / 0.7679 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.5341, allocations: 0 / 0.7679 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.877e-05/0.5342, allocations: 57.31 kB / 0.7679 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.5343, allocations: 130.6 kB / 0.7681 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5346, allocations: 373.7 kB / 0.7684 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.5346, allocations: 25.7 kB / 0.7684 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5347, allocations: 167.8 kB / 0.7686 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.5348, allocations: 0 / 0.7686 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.5348, allocations: 17.66 kB / 0.7686 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5349, allocations: 338.8 kB / 0.7689 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.5349, allocations: 11.98 kB / 0.7689 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.535, allocations: 32.3 kB / 0.769 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.535, allocations: 48.27 kB / 0.769 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.535, allocations: 0 / 0.769 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001377/0.5352, allocations: 89.22 kB / 0.7691 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5352, allocations: 4 kB / 0.7691 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5352, allocations: 4 kB / 0.7691 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5352, allocations: 4.141 kB / 0.7691 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.5353, allocations: 12 kB / 0.7691 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5353, allocations: 0.5469 kB / 0.7691 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.637e-05/0.5353, allocations: 27.59 kB / 0.7692 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.5354, allocations: 4 kB / 0.7692 GB, free: 2.633 MB / 0.5762 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.0001327/0.5355, allocations: 221 kB / 0.7694 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.5356, allocations: 124.7 kB / 0.7695 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.917e-05/0.5356, allocations: 127 kB / 0.7696 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-05/0.5357, allocations: 184.2 kB / 0.7698 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.788e-05/0.5358, allocations: 184.2 kB / 0.77 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.291e-05/0.5358, allocations: 188.3 kB / 0.7701 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.5361, allocations: 493 kB / 0.7706 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.5362, allocations: 101 kB / 0.7707 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-05/0.5362, allocations: 112.9 kB / 0.7708 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-05/0.5363, allocations: 180.2 kB / 0.771 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.5363, allocations: 180.2 kB / 0.7712 GB, free: 460 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.622e-05/0.5364, allocations: 180.3 kB / 0.7713 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.013e-05/0.5365, allocations: 184.2 kB / 0.7715 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5366, allocations: 331.7 kB / 0.7718 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.5367, allocations: 217.6 kB / 0.772 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/0.5368, allocations: 184.3 kB / 0.7722 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5369, allocations: 105 kB / 0.7723 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.537, allocations: 180.2 kB / 0.7725 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.537, allocations: 109 kB / 0.7726 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002458/0.5373, allocations: 271.2 kB / 0.7728 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5373, allocations: 0 / 0.7728 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002412/0.5375, allocations: 31.94 kB / 0.7729 GB, free: 14.6 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.0003555/0.5379, allocations: 0.8357 MB / 0.7737 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.977e-05/0.538, allocations: 11.94 kB / 0.7737 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.538, allocations: 0 / 0.7737 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.538, allocations: 3.984 kB / 0.7737 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007866/0.5388, allocations: 0.6203 MB / 0.7743 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.5413, allocations: 2.753 MB / 0.777 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5416, allocations: 0.7521 MB / 0.7777 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.5417, allocations: 38.95 kB / 0.7778 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.188e-05/0.5418, allocations: 71.97 kB / 0.7778 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.5418, allocations: 0 / 0.7778 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/0.6982, allocations: 5.5 MB / 0.7832 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/0.6984, allocations: 213.9 kB / 0.7834 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.345, allocations: 7.938 kB / 0.7834 GB, free: 3.82 MB / 0.5919 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)