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.0009809/0.0009809, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000897/0.0008971, allocations: 197 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8243/0.8243, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 64.41 kB / 0.5055 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 80.92 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.4049/0.5489, allocations: 174 MB / 0.7544 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008946/0.5578, allocations: 9.521 MB / 0.7637 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.5582, allocations: 11.94 kB / 0.7637 GB, free: 5.324 MB / 0.5762 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.0005835/0.5588, allocations: 190.7 kB / 0.7639 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.5591, allocations: 87.31 kB / 0.764 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.5593, allocations: 67.91 kB / 0.7641 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.5597, allocations: 330.7 kB / 0.7644 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.5601, allocations: 206.2 kB / 0.7646 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003503/0.5605, allocations: 163.4 kB / 0.7647 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.5606, allocations: 127.3 kB / 0.7648 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.5607, allocations: 23.98 kB / 0.7649 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.5607, allocations: 24 kB / 0.7649 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.34e-05/0.5608, allocations: 71.81 kB / 0.765 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.5609, allocations: 127.3 kB / 0.7651 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.5612, allocations: 283 kB / 0.7653 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5612, allocations: 4 kB / 0.7654 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5612, allocations: 0 / 0.7654 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.5612, allocations: 0 / 0.7654 GB, free: 3.656 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.0004886/0.5617, allocations: 0.5145 MB / 0.7659 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.5618, allocations: 12.03 kB / 0.7659 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.393e-05/0.5618, allocations: 69.66 kB / 0.7659 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.5619, allocations: 31.66 kB / 0.766 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5622, allocations: 265.1 kB / 0.7662 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5622, allocations: 20.56 kB / 0.7662 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.145e-05/0.5622, allocations: 28 kB / 0.7663 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.5627, allocations: 324 kB / 0.7666 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5627, allocations: 3.938 kB / 0.7666 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.5627, allocations: 12 kB / 0.7666 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.5627, allocations: 11.94 kB / 0.7666 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002157/0.563, allocations: 135.8 kB / 0.7667 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.5642, allocations: 1.816 MB / 0.7685 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.631e-05/0.5643, allocations: 177.1 kB / 0.7687 GB, free: 20 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.5643, allocations: 84.14 kB / 0.7688 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.5644, allocations: 75.28 kB / 0.7688 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.5644, allocations: 113.8 kB / 0.7689 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5644, allocations: 0 / 0.7689 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 8.983e-05/0.5645, allocations: 53.33 kB / 0.769 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5646, allocations: 130.7 kB / 0.7691 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.565, allocations: 377.7 kB / 0.7695 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.565, allocations: 25.7 kB / 0.7695 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5651, allocations: 167.8 kB / 0.7697 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.5651, allocations: 0 / 0.7697 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.5651, allocations: 17.72 kB / 0.7697 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5652, allocations: 334.8 kB / 0.77 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.688e-05/0.5653, allocations: 11.98 kB / 0.77 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.33e-05/0.5653, allocations: 40.23 kB / 0.77 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.5654, allocations: 40.23 kB / 0.7701 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5654, allocations: 0 / 0.7701 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000141/0.5655, allocations: 93.22 kB / 0.7702 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5655, allocations: 6.969 kB / 0.7702 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5656, allocations: 4 kB / 0.7702 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5656, allocations: 7.922 kB / 0.7702 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.04e-05/0.5656, allocations: 8 kB / 0.7702 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5657, allocations: 0 / 0.7702 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.5657, allocations: 27.59 kB / 0.7702 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.5657, allocations: 5.562 kB / 0.7702 GB, free: 14.34 MB / 0.5919 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.000123/0.5659, allocations: 221.2 kB / 0.7704 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.5659, allocations: 128.6 kB / 0.7706 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.566, allocations: 127 kB / 0.7707 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-05/0.5661, allocations: 176.3 kB / 0.7708 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-05/0.5661, allocations: 188.2 kB / 0.771 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/0.5662, allocations: 184.3 kB / 0.7712 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.5665, allocations: 497 kB / 0.7717 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.451e-05/0.5665, allocations: 101 kB / 0.7718 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.5666, allocations: 105 kB / 0.7719 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.487e-05/0.5666, allocations: 184.3 kB / 0.772 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-05/0.5667, allocations: 180.2 kB / 0.7722 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.153e-05/0.5667, allocations: 188.2 kB / 0.7724 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.482e-05/0.5668, allocations: 185.4 kB / 0.7726 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.567, allocations: 339.3 kB / 0.7729 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.5671, allocations: 205.8 kB / 0.7731 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/0.5672, allocations: 188.2 kB / 0.7733 GB, free: 11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.5673, allocations: 101 kB / 0.7734 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.5673, allocations: 184.2 kB / 0.7735 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/0.5674, allocations: 101 kB / 0.7736 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002448/0.5676, allocations: 271.2 kB / 0.7739 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5676, allocations: 0 / 0.7739 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002669/0.5679, allocations: 31.94 kB / 0.7739 GB, free: 10.31 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.0003623/0.5683, allocations: 0.8395 MB / 0.7747 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.309e-05/0.5683, allocations: 11.98 kB / 0.7748 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5683, allocations: 0 / 0.7748 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.449e-06/0.5684, allocations: 8.25 kB / 0.7748 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.5692, allocations: 0.55 MB / 0.7753 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.5717, allocations: 2.715 MB / 0.778 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.5721, allocations: 0.7558 MB / 0.7787 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.5722, allocations: 30.95 kB / 0.7787 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.5723, allocations: 75.42 kB / 0.7788 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.5723, allocations: 0 / 0.7788 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9754/1.548, allocations: 5.825 MB / 0.7845 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/10.15, allocations: 2.031 kB / 0.7845 GB, free: 15.51 MB / 0.6075 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)