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.00151/0.00151, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001613/0.001613, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002305/0.002305, allocations: 277.8 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 1.007/1.007, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 95.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4084, allocations: 86.98 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1871/0.5955, allocations: 174 MB / 0.937 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01026/0.6058, allocations: 9.503 MB / 0.9462 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003887/0.6063, allocations: 15.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.0007758/0.6071, allocations: 198.7 kB / 0.9464 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003651/0.6075, allocations: 87.31 kB / 0.9465 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.6077, allocations: 63.92 kB / 0.9466 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005028/0.6082, allocations: 318.7 kB / 0.9469 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.6086, allocations: 152.5 kB / 0.947 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004187/0.609, allocations: 159.3 kB / 0.9472 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.6092, allocations: 103.5 kB / 0.9473 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.6092, allocations: 16 kB / 0.9473 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.6092, allocations: 16 kB / 0.9473 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.6093, allocations: 39.84 kB / 0.9473 GB, free: 10.6 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.59e-05/0.6094, allocations: 103.5 kB / 0.9474 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.6097, allocations: 209.7 kB / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.6097, allocations: 0 / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.6097, allocations: 0 / 0.9476 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.096e-05/0.6097, 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.000512/0.6102, allocations: 479 kB / 0.9481 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.6103, allocations: 8.031 kB / 0.9481 GB, free: 9.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.921e-05/0.6103, allocations: 27.66 kB / 0.9481 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.6107, allocations: 263.3 kB / 0.9484 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.6107, allocations: 16.44 kB / 0.9484 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.6108, allocations: 23.94 kB / 0.9484 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.6111, allocations: 223.8 kB / 0.9486 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.6111, allocations: 4 kB / 0.9486 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.6112, allocations: 15.94 kB / 0.9487 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6112, allocations: 4 kB / 0.9487 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.6113, allocations: 91.78 kB / 0.9488 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.6124, allocations: 1.437 MB / 0.9502 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.6125, allocations: 173.1 kB / 0.9503 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.6126, allocations: 84.17 kB / 0.9504 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.6126, allocations: 75.28 kB / 0.9505 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.6127, allocations: 117.8 kB / 0.9506 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.6127, allocations: 112 / 0.9506 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.732e-05/0.6128, allocations: 53.3 kB / 0.9506 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.465e-05/0.6129, allocations: 130.7 kB / 0.9508 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.6132, allocations: 283 kB / 0.951 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.6132, allocations: 25.7 kB / 0.9511 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6133, allocations: 147.9 kB / 0.9512 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.6133, allocations: 0 / 0.9512 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.6133, allocations: 13.72 kB / 0.9512 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.6135, allocations: 338.8 kB / 0.9515 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.6135, allocations: 4 kB / 0.9515 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.551e-05/0.6135, allocations: 27.44 kB / 0.9516 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.487e-05/0.6136, allocations: 35.38 kB / 0.9516 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.6136, allocations: 0 / 0.9516 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001461/0.6138, allocations: 77.34 kB / 0.9517 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6138, allocations: 4 kB / 0.9517 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6138, allocations: 0 / 0.9517 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6138, allocations: 4 kB / 0.9517 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.6139, allocations: 11.92 kB / 0.9517 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6139, allocations: 4 kB / 0.9517 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.6139, allocations: 19.69 kB / 0.9517 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.614, allocations: 8 kB / 0.9517 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.0001206/0.6141, allocations: 203.6 kB / 0.9519 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.139e-05/0.6142, allocations: 120.8 kB / 0.952 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.123e-05/0.6142, allocations: 125.9 kB / 0.9522 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-05/0.6143, allocations: 176.3 kB / 0.9523 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.035e-05/0.6144, allocations: 180.2 kB / 0.9525 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.567e-05/0.6145, allocations: 188.2 kB / 0.9527 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003196/0.6148, allocations: 469.1 kB / 0.9531 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/0.6148, allocations: 108.9 kB / 0.9532 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.6149, allocations: 105 kB / 0.9533 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.718e-05/0.615, allocations: 184.2 kB / 0.9535 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.6151, allocations: 184.2 kB / 0.9537 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-05/0.6151, allocations: 184.2 kB / 0.9539 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.941e-05/0.6152, allocations: 180.3 kB / 0.954 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.6154, allocations: 331.4 kB / 0.9543 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6155, allocations: 197.8 kB / 0.9545 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.6156, allocations: 192.2 kB / 0.9547 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.6157, allocations: 104.9 kB / 0.9548 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.449e-05/0.6158, allocations: 180.3 kB / 0.955 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.6159, allocations: 105.2 kB / 0.9551 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002032/0.6161, allocations: 202 kB / 0.9553 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6161, allocations: 0 / 0.9553 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002554/0.6163, allocations: 28 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.000153/0.6165, allocations: 182.5 kB / 0.9555 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.678e-05/0.6166, allocations: 11.94 kB / 0.9555 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.6166, allocations: 0 / 0.9555 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.6166, allocations: 0 / 0.9555 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.0007839/0.6174, allocations: 0.5382 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.0005624/0.618, 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.0003327/0.6183, allocations: 0.7206 MB / 0.9571 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3347/0.953, allocations: 20.17 kB / 0.9571 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.132e-06/0.953, allocations: 1.031 kB / 0.9571 GB, free: 193.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.005585/0.9586, allocations: 2.379 MB / 0.9594 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)