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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8248/0.8248, allocations: 143.4 MB / 159.2 MB, free: 4.941 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 188.5 kB / 191.9 MB, free: 5.742 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 447.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 111.2 kB / 0.517 GB, free: 3.738 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001876/0.001876, allocations: 277.6 kB / 0.5973 GB, free: 49.42 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 75.88 kB / 0.6885 GB, free: 3.887 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2981, allocations: 81.3 MB / 0.7679 GB, free: 27.71 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4702/0.7683, allocations: 171.8 MB / 0.9357 GB, free: 256 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007189/0.7755, allocations: 9.503 MB / 0.945 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.7759, allocations: 8 kB / 0.945 GB, free: 60 kB / 0.5573 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.0006086/0.7766, allocations: 158.4 kB / 0.9451 GB, free: 56 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.7768, allocations: 87.69 kB / 0.9452 GB, free: 48 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.777, allocations: 58.27 kB / 0.9453 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.7773, allocations: 379.2 kB / 0.9456 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.7776, allocations: 144.6 kB / 0.9458 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.7778, allocations: 147.6 kB / 0.9459 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.778, allocations: 101.7 kB / 0.946 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.778, allocations: 13.25 kB / 0.946 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.982e-05/0.778, allocations: 13.38 kB / 0.946 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.7781, allocations: 37.02 kB / 0.9461 GB, free: 12 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 8.37e-05/0.7782, allocations: 99.22 kB / 0.9462 GB, free: 8 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.7784, allocations: 197.7 kB / 0.9464 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7784, allocations: 0 / 0.9464 GB, free: 15.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 7.51e-07/0.7784, allocations: 0 / 0.9464 GB, free: 15.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.7784, allocations: 0 / 0.9464 GB, free: 15.99 MB / 0.573 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.0003987/0.7788, allocations: 476.2 kB / 0.9468 GB, free: 15.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.7788, allocations: 7.562 kB / 0.9468 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.7789, allocations: 29.12 kB / 0.9469 GB, free: 15.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.7791, allocations: 248.5 kB / 0.9471 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.7791, allocations: 18.78 kB / 0.9471 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7792, allocations: 19.81 kB / 0.9471 GB, free: 15.36 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.7795, allocations: 230.5 kB / 0.9473 GB, free: 15.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.7795, allocations: 7.938 kB / 0.9474 GB, free: 15.24 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.7795, allocations: 9.094 kB / 0.9474 GB, free: 15.24 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.7795, allocations: 10.97 kB / 0.9474 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.7797, allocations: 88.09 kB / 0.9475 GB, free: 15.23 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009539/0.7806, allocations: 1.44 MB / 0.9489 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.7807, allocations: 170 kB / 0.949 GB, free: 13.84 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.7808, allocations: 84.12 kB / 0.9491 GB, free: 13.76 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.7808, allocations: 75.28 kB / 0.9492 GB, free: 13.68 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7808, allocations: 115.8 kB / 0.9493 GB, free: 13.57 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.7809, allocations: 4 kB / 0.9493 GB, free: 13.56 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 7.471e-05/0.7809, allocations: 44.27 kB / 0.9493 GB, free: 13.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.781, allocations: 129.9 kB / 0.9495 GB, free: 13.39 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.7812, allocations: 284.8 kB / 0.9497 GB, free: 13.29 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.7813, allocations: 25.7 kB / 0.9498 GB, free: 13.25 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.7813, allocations: 150.6 kB / 0.9499 GB, free: 13.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-06/0.7814, allocations: 2.5 kB / 0.9499 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.7814, allocations: 16.34 kB / 0.9499 GB, free: 13.14 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7815, allocations: 337 kB / 0.9502 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.7815, allocations: 6.969 kB / 0.9502 GB, free: 12.82 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.034e-05/0.7815, allocations: 27.22 kB / 0.9503 GB, free: 12.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.885e-05/0.7816, allocations: 34.59 kB / 0.9503 GB, free: 12.76 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7816, allocations: 3.828 kB / 0.9503 GB, free: 12.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000112/0.7817, allocations: 69.09 kB / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.7817, allocations: 5.188 kB / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7817, allocations: 0 / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.7818, allocations: 6.391 kB / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.821e-05/0.7818, allocations: 10.91 kB / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7818, allocations: 0 / 0.9504 GB, free: 12.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.7819, allocations: 28.03 kB / 0.9504 GB, free: 12.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.7819, allocations: 0 / 0.9504 GB, free: 12.7 MB / 0.573 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.979e-05/0.782, allocations: 201.5 kB / 0.9506 GB, free: 12.51 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.7821, allocations: 128.7 kB / 0.9507 GB, free: 12.39 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.751e-05/0.7821, allocations: 126 kB / 0.9509 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/0.7822, allocations: 182.8 kB / 0.951 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.132e-05/0.7823, allocations: 182.8 kB / 0.9512 GB, free: 11.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/0.7823, allocations: 181.8 kB / 0.9514 GB, free: 11.73 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.7826, allocations: 473 kB / 0.9518 GB, free: 11.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.7826, allocations: 102.8 kB / 0.9519 GB, free: 11.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.121e-05/0.7826, allocations: 103.4 kB / 0.952 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.483e-05/0.7827, allocations: 182.2 kB / 0.9522 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/0.7827, allocations: 187.3 kB / 0.9524 GB, free: 10.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.932e-05/0.7828, allocations: 178.8 kB / 0.9525 GB, free: 10.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.7829, allocations: 185.6 kB / 0.9527 GB, free: 10.35 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.7832, allocations: 0.8963 MB / 0.9536 GB, free: 9.441 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.7833, allocations: 203 kB / 0.9538 GB, free: 9.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.7834, allocations: 181.9 kB / 0.954 GB, free: 9.051 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.166e-05/0.7835, allocations: 109.8 kB / 0.9541 GB, free: 8.941 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.7836, allocations: 183.5 kB / 0.9542 GB, free: 8.758 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.223e-05/0.7836, allocations: 103.5 kB / 0.9543 GB, free: 8.652 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001995/0.7838, allocations: 215.6 kB / 0.9546 GB, free: 8.566 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7838, allocations: 0 / 0.9546 GB, free: 8.566 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003234/0.7841, allocations: 20.44 kB / 0.9546 GB, free: 8.566 MB / 0.573 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.0001146/0.7843, allocations: 174.6 kB / 0.9547 GB, free: 8.406 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 5.254e-05/0.7843, allocations: 14.61 kB / 0.9548 GB, free: 8.406 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7843, allocations: 0 / 0.9548 GB, free: 8.406 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.7843, allocations: 2.781 kB / 0.9548 GB, free: 8.406 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.7851, allocations: 0.6044 MB / 0.9553 GB, free: 7.875 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.7856, allocations: 402.9 kB / 0.9557 GB, free: 7.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.7858, allocations: 0.7254 MB / 0.9564 GB, free: 6.867 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.131e-05/0.7859, allocations: 25.3 kB / 0.9565 GB, free: 6.859 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.7859, allocations: 18.22 kB / 0.9565 GB, free: 6.852 MB / 0.573 GB Notification: Performance of SimCode: time 2.11e-07/0.7859, allocations: 0 / 0.9565 GB, free: 6.852 MB / 0.573 GB Notification: Performance of Templates: time 0.004221/0.7902, allocations: 2.369 MB / 0.9588 GB, free: 6.668 MB / 0.573 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)