Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="IDEAS_dev_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.00108/0.00108, allocations: 108 kB / 15.6 MB, free: 132 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.001061/0.001061, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.222/1.222, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8074/0.8074, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 65.45 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1191, allocations: 80.94 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.3337/0.4527, allocations: 174 MB / 0.7544 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007947/0.4607, allocations: 9.513 MB / 0.7637 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.461, allocations: 11.94 kB / 0.7637 GB, free: 5.355 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 (2) 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 (2) 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.0005014/0.4615, allocations: 186.7 kB / 0.7639 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.4617, allocations: 99.31 kB / 0.764 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.4619, allocations: 63.91 kB / 0.764 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003128/0.4622, allocations: 314.8 kB / 0.7643 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000233/0.4624, allocations: 144.5 kB / 0.7645 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.4627, allocations: 159.3 kB / 0.7646 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.4628, allocations: 103.5 kB / 0.7647 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.4629, allocations: 20 kB / 0.7647 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.853e-05/0.4629, allocations: 16 kB / 0.7647 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.696e-05/0.4629, allocations: 43.84 kB / 0.7648 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.519e-05/0.463, allocations: 95.48 kB / 0.7649 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.4632, allocations: 203.2 kB / 0.7651 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4632, allocations: 0 / 0.7651 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4632, allocations: 0 / 0.7651 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.4632, allocations: 0 / 0.7651 GB, free: 3.938 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003918/0.4636, allocations: 486.9 kB / 0.7655 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.4637, allocations: 8.031 kB / 0.7655 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.4637, allocations: 58.55 kB / 0.7656 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.4638, allocations: 23.69 kB / 0.7656 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.464, allocations: 250.5 kB / 0.7659 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.464, allocations: 12.44 kB / 0.7659 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.464, allocations: 20 kB / 0.7659 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.4643, allocations: 227.8 kB / 0.7661 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4643, allocations: 3.938 kB / 0.7661 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.4643, allocations: 12 kB / 0.7661 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.4643, allocations: 4.5 kB / 0.7661 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.4645, allocations: 91.78 kB / 0.7662 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008516/0.4653, allocations: 1.437 MB / 0.7676 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.4654, allocations: 169.1 kB / 0.7678 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/0.4654, allocations: 80.17 kB / 0.7679 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4655, allocations: 83.28 kB / 0.7679 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.4655, allocations: 114.3 kB / 0.768 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4655, allocations: 3.938 kB / 0.768 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.151e-05/0.4656, allocations: 53.36 kB / 0.7681 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.4657, allocations: 126.7 kB / 0.7682 GB, free: 460 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.4659, allocations: 287 kB / 0.7685 GB, free: 168 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4659, allocations: 25.7 kB / 0.7685 GB, free: 136 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.466, allocations: 152.1 kB / 0.7687 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.466, allocations: 0 / 0.7687 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.62e-05/0.4661, allocations: 13.72 kB / 0.7687 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4662, allocations: 334.8 kB / 0.769 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.543e-05/0.4662, allocations: 4 kB / 0.769 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.4662, allocations: 23.44 kB / 0.769 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.4663, allocations: 40.62 kB / 0.7691 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4663, allocations: 0 / 0.7691 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00011/0.4664, allocations: 77.28 kB / 0.7691 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.4664, allocations: 8 kB / 0.7691 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4664, allocations: 128 / 0.7691 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.4664, allocations: 4 kB / 0.7691 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.833e-05/0.4665, allocations: 11.98 kB / 0.7692 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.4665, allocations: 0 / 0.7692 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.4666, allocations: 19.69 kB / 0.7692 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4666, allocations: 11.94 kB / 0.7692 GB, free: 15.39 MB / 0.5919 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 9.586e-05/0.4667, allocations: 197.1 kB / 0.7694 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.711e-05/0.4667, allocations: 120.7 kB / 0.7695 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.4668, allocations: 125.9 kB / 0.7696 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/0.4669, allocations: 176.3 kB / 0.7698 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.513e-05/0.4669, allocations: 187.3 kB / 0.77 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.733e-05/0.467, allocations: 184.3 kB / 0.7701 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.4672, allocations: 473 kB / 0.7706 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/0.4673, allocations: 101 kB / 0.7707 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.325e-05/0.4673, allocations: 109 kB / 0.7708 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.75e-05/0.4673, allocations: 180.3 kB / 0.771 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.473e-05/0.4674, allocations: 188.2 kB / 0.7711 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.112e-05/0.4675, allocations: 180.2 kB / 0.7713 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.296e-05/0.4675, allocations: 184.3 kB / 0.7715 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.4676, allocations: 335.7 kB / 0.7718 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.4677, allocations: 193.8 kB / 0.772 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.802e-05/0.4678, allocations: 192.2 kB / 0.7722 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.4679, allocations: 105 kB / 0.7723 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.468, allocations: 184.2 kB / 0.7724 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.468, allocations: 101 kB / 0.7725 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001669/0.4682, allocations: 209.9 kB / 0.7727 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4682, allocations: 0 / 0.7727 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002227/0.4684, allocations: 27.94 kB / 0.7728 GB, free: 11.5 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.0003202/0.4687, allocations: 0.828 MB / 0.7736 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.78e-05/0.4688, allocations: 12 kB / 0.7736 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4688, allocations: 0 / 0.7736 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4688, allocations: 0 / 0.7736 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.4695, allocations: 0.5261 MB / 0.7741 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.4713, allocations: 2.239 MB / 0.7763 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.4716, allocations: 0.7245 MB / 0.777 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.032e-05/0.4717, allocations: 21.95 kB / 0.777 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.4717, allocations: 55.42 kB / 0.7771 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.4717, allocations: 0 / 0.7771 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.798/2.27, allocations: 4.618 MB / 0.7816 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/13.63, allocations: 9.359 kB / 0.7816 GB, free: 2.477 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)