Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.005637/0.005637, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001446/0.001446, allocations: 196.9 kB / 16.67 MB, free: 6.379 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.98/0.98, allocations: 135.1 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 63.89 kB / 0.5852 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4675/0.4695, allocations: 80.91 MB / 0.6642 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1637/0.6332, allocations: 147.9 MB / 0.8087 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006244/0.6395, allocations: 4.638 MB / 0.8132 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003612/0.6399, allocations: 8 kB / 0.8132 GB, free: 8.488 MB / 0.6387 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.0006815/0.6406, allocations: 174.8 kB / 0.8134 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0004176/0.6411, allocations: 79.5 kB / 0.8134 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.6413, allocations: 67.86 kB / 0.8135 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0005302/0.6418, allocations: 294.6 kB / 0.8138 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002907/0.6421, allocations: 113.1 kB / 0.8139 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/0.6424, allocations: 107.5 kB / 0.814 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.6426, allocations: 135.5 kB / 0.8141 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.6427, allocations: 11.94 kB / 0.8141 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 4.058e-05/0.6427, allocations: 12 kB / 0.8141 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 3.295e-05/0.6428, allocations: 23.92 kB / 0.8142 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 9.253e-05/0.6429, allocations: 75.56 kB / 0.8142 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.6431, allocations: 153.6 kB / 0.8144 GB, free: 7.262 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6431, allocations: 4 kB / 0.8144 GB, free: 7.258 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.684e-06/0.6431, allocations: 4 kB / 0.8144 GB, free: 7.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.6431, allocations: 3.938 kB / 0.8144 GB, free: 7.25 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0006047/0.6437, allocations: 446.6 kB / 0.8148 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6438, allocations: 12.03 kB / 0.8148 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.6439, allocations: 46.73 kB / 0.8149 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.6439, allocations: 20.66 kB / 0.8149 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004658/0.6444, allocations: 265.3 kB / 0.8151 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6444, allocations: 8 kB / 0.8152 GB, free: 6.375 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.666e-05/0.6444, allocations: 16 kB / 0.8152 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000312/0.6448, allocations: 204.7 kB / 0.8154 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.6448, allocations: 11.92 kB / 0.8154 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.6448, allocations: 4 kB / 0.8154 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.6448, allocations: 8 kB / 0.8154 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.6449, allocations: 63.8 kB / 0.8154 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.6461, allocations: 1.59 MB / 0.817 GB, free: 4.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.6462, allocations: 169.1 kB / 0.8172 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.6462, allocations: 80.14 kB / 0.8172 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.6463, allocations: 83.22 kB / 0.8173 GB, free: 4 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.6463, allocations: 109.8 kB / 0.8174 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6463, allocations: 0 / 0.8174 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 9.799e-05/0.6464, allocations: 41.52 kB / 0.8175 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.6465, allocations: 130.7 kB / 0.8176 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.6468, allocations: 250.6 kB / 0.8178 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.6468, allocations: 29.69 kB / 0.8179 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.6469, allocations: 139.7 kB / 0.818 GB, free: 3.27 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.6469, allocations: 4 kB / 0.818 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.647, allocations: 25.7 kB / 0.818 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6471, allocations: 330.7 kB / 0.8183 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.6471, allocations: 8 kB / 0.8183 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.265e-05/0.6472, allocations: 57.94 kB / 0.8184 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.6472, allocations: 53.95 kB / 0.8184 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6472, allocations: 4 kB / 0.8185 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001695/0.6474, allocations: 89.31 kB / 0.8185 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.6474, allocations: 4 kB / 0.8185 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6475, allocations: 12.2 kB / 0.8186 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6475, allocations: 0 / 0.8186 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.1e-05/0.6476, allocations: 12 kB / 0.8186 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6476, allocations: 0 / 0.8186 GB, free: 2.617 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.6476, allocations: 23.69 kB / 0.8186 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.6477, allocations: 8 kB / 0.8186 GB, free: 2.586 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001175/0.6478, allocations: 197 kB / 0.8188 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.6479, allocations: 128.7 kB / 0.8189 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.6479, allocations: 121.9 kB / 0.819 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.15e-05/0.648, allocations: 184.2 kB / 0.8192 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.384e-05/0.6481, allocations: 176.3 kB / 0.8194 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.781e-05/0.6481, allocations: 184.2 kB / 0.8195 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.6484, allocations: 457.1 kB / 0.82 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/0.6485, allocations: 105 kB / 0.8201 GB, free: 0.9609 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.6485, allocations: 108.9 kB / 0.8202 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.458e-05/0.6486, allocations: 180.3 kB / 0.8204 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.42e-05/0.6487, allocations: 184.2 kB / 0.8205 GB, free: 488 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.87e-05/0.6487, allocations: 176.3 kB / 0.8207 GB, free: 304 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.501e-05/0.6488, allocations: 180.2 kB / 0.8209 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.649, allocations: 327.6 kB / 0.8212 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.6491, allocations: 201.8 kB / 0.8214 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.824e-05/0.6492, allocations: 180.3 kB / 0.8215 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.6493, allocations: 104.9 kB / 0.8216 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.6494, allocations: 184.2 kB / 0.8218 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.056e-05/0.6494, allocations: 101 kB / 0.8219 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001677/0.6496, allocations: 182 kB / 0.8221 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6496, allocations: 0 / 0.8221 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002685/0.6499, allocations: 23.91 kB / 0.8221 GB, free: 14.77 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.0004116/0.6503, allocations: 0.8293 MB / 0.8229 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.29e-05/0.6504, allocations: 24.23 kB / 0.8229 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6504, allocations: 0 / 0.8229 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.6504, allocations: 0 / 0.8229 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.6511, allocations: 0.5044 MB / 0.8234 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.653, allocations: 2.047 MB / 0.8254 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.6533, allocations: 0.7124 MB / 0.8261 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.808e-05/0.6534, allocations: 21.53 kB / 0.8262 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.6534, allocations: 43.42 kB / 0.8262 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6534, allocations: 0 / 0.8262 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/0.6741, allocations: 3.616 MB / 0.8297 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.551, allocations: 4.766 kB / 0.8297 GB, free: 6.895 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > IDEAS_dev_IDEAS.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)