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.00168/0.00168, allocations: 111.6 kB / 16.42 MB, free: 6.441 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.002102/0.002102, allocations: 189.6 kB / 17.35 MB, free: 5.727 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.5/1.5, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002246/0.002246, allocations: 288.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.018/1.018, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003503/0.003503, allocations: 87.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.494, allocations: 86.98 MB / 0.767 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1922/0.6863, allocations: 174 MB / 0.937 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009848/0.6962, allocations: 9.511 MB / 0.9463 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005472/0.6968, allocations: 7.938 kB / 0.9463 GB, free: 11.67 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.0009801/0.6978, allocations: 190.7 kB / 0.9464 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.6981, allocations: 99.3 kB / 0.9465 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.6983, allocations: 67.92 kB / 0.9466 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004437/0.6988, allocations: 322.7 kB / 0.9469 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003445/0.6991, allocations: 144.5 kB / 0.9471 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003414/0.6995, allocations: 163.3 kB / 0.9472 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.6996, allocations: 95.5 kB / 0.9473 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.6996, allocations: 16 kB / 0.9473 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.6997, allocations: 16 kB / 0.9473 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.6997, allocations: 39.84 kB / 0.9474 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.6998, allocations: 99.48 kB / 0.9475 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.7001, allocations: 209.7 kB / 0.9477 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.7001, allocations: 11.98 kB / 0.9477 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7001, allocations: 0 / 0.9477 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.7001, allocations: 0 / 0.9477 GB, free: 10.22 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.000426/0.7005, allocations: 475 kB / 0.9481 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.7006, allocations: 8.031 kB / 0.9481 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.7006, allocations: 27.66 kB / 0.9482 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.7009, allocations: 267.1 kB / 0.9484 GB, free: 9.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.701, allocations: 12.44 kB / 0.9484 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.701, allocations: 20 kB / 0.9484 GB, free: 9.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.7013, allocations: 235.8 kB / 0.9487 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7014, allocations: 0 / 0.9487 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.7014, allocations: 11.94 kB / 0.9487 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.7014, allocations: 4 kB / 0.9487 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.7016, allocations: 91.78 kB / 0.9488 GB, free: 8.973 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.7028, allocations: 1.441 MB / 0.9502 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.7029, allocations: 165.1 kB / 0.9503 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.703, allocations: 84.17 kB / 0.9504 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.809e-05/0.7031, allocations: 79.28 kB / 0.9505 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.7031, allocations: 109.8 kB / 0.9506 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.373e-06/0.7031, allocations: 4 kB / 0.9506 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001007/0.7032, allocations: 53.45 kB / 0.9507 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.7033, allocations: 55.34 kB / 0.9507 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.7036, allocations: 283 kB / 0.951 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.7036, allocations: 29.7 kB / 0.951 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.7037, allocations: 139.9 kB / 0.9511 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.7037, allocations: 3.984 kB / 0.9511 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.7037, allocations: 13.72 kB / 0.9512 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.7039, allocations: 338.8 kB / 0.9515 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.413e-05/0.7039, allocations: 7.984 kB / 0.9515 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.7039, allocations: 23.44 kB / 0.9515 GB, free: 6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.704, allocations: 39.38 kB / 0.9515 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.704, allocations: 4 kB / 0.9515 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001219/0.7041, allocations: 73.34 kB / 0.9516 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.7041, allocations: 4 kB / 0.9516 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.7041, allocations: 0 / 0.9516 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7041, allocations: 4 kB / 0.9516 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.7042, allocations: 7.938 kB / 0.9516 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7042, allocations: 4 kB / 0.9516 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.7043, allocations: 31.8 kB / 0.9517 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.7043, allocations: 4 kB / 0.9517 GB, free: 5.812 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.0001143/0.7044, allocations: 197.1 kB / 0.9519 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.7045, allocations: 120.8 kB / 0.952 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.856e-05/0.7046, allocations: 125.9 kB / 0.9521 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-05/0.7046, allocations: 176.3 kB / 0.9523 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.244e-05/0.7047, allocations: 108.9 kB / 0.9524 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.7048, allocations: 201.8 kB / 0.9526 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.7049, allocations: 180.3 kB / 0.9527 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-05/0.705, allocations: 112.8 kB / 0.9528 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.705, allocations: 184.2 kB / 0.953 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.782e-05/0.7051, allocations: 259.5 kB / 0.9533 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001735/0.7053, allocations: 402.8 kB / 0.9536 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.254e-05/0.7054, allocations: 109 kB / 0.9537 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002021/0.7056, allocations: 206 kB / 0.9539 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of Backend: time 2.9e-07/0.7056, allocations: 0 / 0.9539 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.706, allocations: 99.02 kB / 0.954 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of SimCode: time 0.001104/0.7071, allocations: 1.122 MB / 0.9551 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of Templates: time 0.3506/1.058, allocations: 2.437 MB / 0.9575 GB, free: 192.6 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)