Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 104.9 kB / 16.41 MB, free: 6.457 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.001218/0.001218, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 287.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9824/0.9824, allocations: 169.2 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 91.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4833/0.4853, allocations: 86.96 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1919/0.6772, allocations: 174 MB / 0.937 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.6873, allocations: 9.499 MB / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.6876, allocations: 11.94 kB / 0.9462 GB, free: 11.73 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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/BuildingSystems 2.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.0007041/0.6884, allocations: 198.7 kB / 0.9464 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.6887, allocations: 83.38 kB / 0.9465 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.6889, allocations: 71.86 kB / 0.9466 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.6893, allocations: 322.7 kB / 0.9469 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002874/0.6896, allocations: 144.5 kB / 0.947 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.69, allocations: 151.4 kB / 0.9472 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.6902, allocations: 115.4 kB / 0.9473 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.6902, allocations: 16 kB / 0.9473 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.6902, allocations: 16 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.6903, allocations: 35.86 kB / 0.9474 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.6904, allocations: 99.53 kB / 0.9474 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.6906, allocations: 213.6 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6907, allocations: 4 kB / 0.9477 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6907, allocations: 0 / 0.9477 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.6907, allocations: 4 kB / 0.9477 GB, free: 10.29 MB / 0.7169 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.0004414/0.6911, allocations: 475 kB / 0.9481 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.6912, allocations: 8.031 kB / 0.9481 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.6912, allocations: 27.66 kB / 0.9481 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.6916, allocations: 262.6 kB / 0.9484 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.6916, allocations: 12.44 kB / 0.9484 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.6916, allocations: 23.98 kB / 0.9484 GB, free: 9.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.692, allocations: 227.8 kB / 0.9486 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.692, allocations: 0 / 0.9486 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.692, allocations: 19.92 kB / 0.9487 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.692, allocations: 4 kB / 0.9487 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.6922, allocations: 91.83 kB / 0.9488 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.6932, allocations: 1.441 MB / 0.9502 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.419e-05/0.6933, allocations: 169.1 kB / 0.9503 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.269e-05/0.6934, allocations: 84.17 kB / 0.9504 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.6934, allocations: 75.28 kB / 0.9505 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.6935, allocations: 113.8 kB / 0.9506 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/0.6935, allocations: 4 kB / 0.9506 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.416e-05/0.6936, allocations: 45.42 kB / 0.9506 GB, free: 7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.6936, allocations: 126.7 kB / 0.9508 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.6939, allocations: 283 kB / 0.951 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.6939, allocations: 25.81 kB / 0.951 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.694, allocations: 151.9 kB / 0.9512 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-06/0.6941, allocations: 0 / 0.9512 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.6941, allocations: 13.72 kB / 0.9512 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6942, allocations: 346.7 kB / 0.9515 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.6943, allocations: 4 kB / 0.9515 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.347e-05/0.6943, allocations: 27.42 kB / 0.9516 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.828e-05/0.6943, allocations: 43.38 kB / 0.9516 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6943, allocations: 0 / 0.9516 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001312/0.6945, allocations: 77.28 kB / 0.9517 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6945, allocations: 4 kB / 0.9517 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6945, allocations: 0 / 0.9517 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.6945, allocations: 4 kB / 0.9517 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.6946, allocations: 4 kB / 0.9517 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6946, allocations: 4 kB / 0.9517 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.6947, allocations: 27.81 kB / 0.9517 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.6947, allocations: 4 kB / 0.9517 GB, free: 5.805 MB / 0.7169 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 0.0001067/0.6948, allocations: 203.4 kB / 0.9519 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6949, allocations: 120.8 kB / 0.952 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.393e-05/0.695, allocations: 125.9 kB / 0.9522 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/0.695, allocations: 180.2 kB / 0.9523 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.491e-05/0.6952, allocations: 180.3 kB / 0.9525 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/0.6953, allocations: 188.2 kB / 0.9527 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.6956, allocations: 465.1 kB / 0.9531 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/0.6956, allocations: 108.9 kB / 0.9532 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.69e-05/0.6957, allocations: 101 kB / 0.9533 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.998e-05/0.6957, allocations: 184.3 kB / 0.9535 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.6958, allocations: 184.2 kB / 0.9537 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.527e-05/0.6959, allocations: 176.3 kB / 0.9538 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.878e-05/0.6959, allocations: 184.2 kB / 0.954 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.6961, allocations: 327.5 kB / 0.9543 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/0.6962, allocations: 209.7 kB / 0.9545 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.332e-05/0.6963, allocations: 180.3 kB / 0.9547 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.6964, allocations: 104.9 kB / 0.9548 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.6964, allocations: 180.3 kB / 0.955 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.6965, allocations: 101.3 kB / 0.9551 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001877/0.6967, allocations: 209.9 kB / 0.9553 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6967, allocations: 7.938 kB / 0.9553 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002467/0.6969, allocations: 24 kB / 0.9553 GB, free: 1.918 MB / 0.7169 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.0001629/0.6971, allocations: 178.4 kB / 0.9555 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.69e-05/0.6972, allocations: 8 kB / 0.9555 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.6972, allocations: 0 / 0.9555 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.947e-06/0.6972, allocations: 0 / 0.9555 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007276/0.6979, allocations: 0.5452 MB / 0.956 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000521/0.6984, allocations: 390.7 kB / 0.9564 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.6987, allocations: 0.7245 MB / 0.9571 GB, free: 12 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3062/1.005, allocations: 15.44 kB / 0.9571 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.533e-06/1.005, allocations: 0 / 0.9571 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.00825/1.013, allocations: 2.411 MB / 0.9595 GB, free: 193.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)