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.006159/0.006159, allocations: 102.9 kB / 15.73 MB, free: 6.047 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.001405/0.001405, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002167/0.002167, allocations: 285.9 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9565/0.9565, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 91.84 kB / 0.6814 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4571, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1731/0.6303, allocations: 174 MB / 0.9363 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009066/0.6394, allocations: 9.515 MB / 0.9456 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002786/0.6397, allocations: 4 kB / 0.9456 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.0006365/0.6403, allocations: 194.6 kB / 0.9458 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.6406, allocations: 91.36 kB / 0.9459 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.6407, allocations: 63.92 kB / 0.9459 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003402/0.6411, allocations: 322.7 kB / 0.9462 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002592/0.6413, allocations: 140.6 kB / 0.9464 GB, free: 10.94 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.6416, allocations: 167.3 kB / 0.9465 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.6418, allocations: 99.48 kB / 0.9466 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.6418, allocations: 19.94 kB / 0.9466 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.6418, allocations: 16 kB / 0.9467 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.6419, allocations: 39.86 kB / 0.9467 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.642, allocations: 107.5 kB / 0.9468 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.6422, allocations: 209.7 kB / 0.947 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6422, allocations: 7.938 kB / 0.947 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6422, allocations: 0 / 0.947 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6422, allocations: 0 / 0.947 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.0004241/0.6426, allocations: 475 kB / 0.9475 GB, free: 9.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6427, allocations: 12.03 kB / 0.9475 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.6427, allocations: 23.66 kB / 0.9475 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.6431, allocations: 259.2 kB / 0.9477 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.6431, allocations: 16.44 kB / 0.9478 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.6431, allocations: 16 kB / 0.9478 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.6435, allocations: 235.8 kB / 0.948 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.6435, allocations: 3.938 kB / 0.948 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.6435, allocations: 7.938 kB / 0.948 GB, free: 9.137 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.669e-06/0.6435, allocations: 8 kB / 0.948 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.6437, allocations: 87.84 kB / 0.9481 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.6447, allocations: 1.437 MB / 0.9495 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.6448, allocations: 173.1 kB / 0.9497 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.6449, allocations: 84.17 kB / 0.9497 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.6449, allocations: 75.28 kB / 0.9498 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.645, allocations: 113.8 kB / 0.9499 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.645, allocations: 0 / 0.9499 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.632e-05/0.6451, allocations: 53.52 kB / 0.95 GB, free: 7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.6451, allocations: 130.6 kB / 0.9501 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.6454, allocations: 283 kB / 0.9504 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.6454, allocations: 25.7 kB / 0.9504 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.6455, allocations: 143.9 kB / 0.9505 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.6456, allocations: 0 / 0.9505 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.6456, allocations: 25.7 kB / 0.9506 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6457, allocations: 330.8 kB / 0.9509 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.6457, allocations: 3.984 kB / 0.9509 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.152e-05/0.6458, allocations: 31.44 kB / 0.9509 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.6458, allocations: 39.38 kB / 0.9509 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.6458, allocations: 0 / 0.9509 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000135/0.646, allocations: 77.28 kB / 0.951 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.646, allocations: 11.94 kB / 0.951 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.646, allocations: 0 / 0.951 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.646, allocations: 0 / 0.951 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.6461, allocations: 8 kB / 0.951 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.6461, allocations: 4.125 kB / 0.951 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.6461, allocations: 23.69 kB / 0.9511 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.6462, allocations: 3.984 kB / 0.9511 GB, free: 5.809 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.0001141/0.6463, allocations: 203.5 kB / 0.9513 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.6464, allocations: 120.7 kB / 0.9514 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.6464, allocations: 126 kB / 0.9515 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.815e-05/0.6465, allocations: 192.2 kB / 0.9517 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.722e-05/0.6466, allocations: 176.3 kB / 0.9518 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.143e-05/0.6466, allocations: 176.3 kB / 0.952 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002664/0.6469, allocations: 477 kB / 0.9525 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/0.6469, allocations: 105 kB / 0.9526 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.759e-05/0.647, allocations: 104.9 kB / 0.9527 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.383e-05/0.647, allocations: 180.3 kB / 0.9528 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.6471, allocations: 176.3 kB / 0.953 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.586e-05/0.6472, allocations: 188.2 kB / 0.9532 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.833e-05/0.6472, allocations: 180.3 kB / 0.9534 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.6474, allocations: 331.4 kB / 0.9537 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.972e-05/0.6474, allocations: 201.8 kB / 0.9539 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.6475, allocations: 184.2 kB / 0.954 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.6476, allocations: 105 kB / 0.9541 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.6477, allocations: 184.1 kB / 0.9543 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.6477, allocations: 101.3 kB / 0.9544 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001738/0.6479, allocations: 214 kB / 0.9546 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6479, allocations: 0 / 0.9546 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002336/0.6481, allocations: 20 kB / 0.9546 GB, free: 1.922 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.0001143/0.6483, allocations: 178.5 kB / 0.9548 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.99e-05/0.6483, allocations: 15.92 kB / 0.9548 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.6483, allocations: 4 kB / 0.9548 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.6484, allocations: 256 / 0.9548 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007232/0.6491, allocations: 0.534 MB / 0.9554 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004959/0.6496, allocations: 368 kB / 0.9557 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002855/0.6499, allocations: 0.7245 MB / 0.9564 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.408e-05/0.65, allocations: 17.95 kB / 0.9564 GB, free: 32 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.65, allocations: 15.44 kB / 0.9564 GB, free: 16 kB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.65, allocations: 4 kB / 0.9564 GB, free: 12 kB / 0.7169 GB Notification: Performance of Templates: time 0.3299/0.9799, allocations: 2.482 MB / 0.9589 GB, free: 193.3 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)