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.004996/0.004996, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001109/0.001109, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 295 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1801, allocations: 86.97 MB / 0.7664 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5707/0.7508, allocations: 174 MB / 0.9363 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.009319/0.7602, allocations: 9.515 MB / 0.9456 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.7605, allocations: 7.938 kB / 0.9456 GB, free: 11.25 MB / 0.7012 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.0006166/0.7611, allocations: 198.7 kB / 0.9458 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.7613, allocations: 87.38 kB / 0.9459 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.7615, allocations: 59.92 kB / 0.9459 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.7618, allocations: 318.7 kB / 0.9462 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.7621, allocations: 148.5 kB / 0.9464 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.7624, allocations: 163.4 kB / 0.9465 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.7625, allocations: 95.5 kB / 0.9466 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.7625, allocations: 16 kB / 0.9466 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 2.639e-05/0.7625, allocations: 20 kB / 0.9466 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 3.285e-05/0.7626, allocations: 47.78 kB / 0.9467 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 8.706e-05/0.7627, allocations: 95.48 kB / 0.9468 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.7629, allocations: 218 kB / 0.947 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.7629, allocations: 0 / 0.947 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7629, allocations: 0 / 0.947 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.7629, allocations: 0 / 0.947 GB, free: 9.816 MB / 0.7012 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.0004248/0.7633, allocations: 471.7 kB / 0.9474 GB, free: 9.309 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.7634, allocations: 12.03 kB / 0.9475 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.7634, allocations: 27.66 kB / 0.9475 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.7637, allocations: 264.9 kB / 0.9477 GB, free: 8.973 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.7638, allocations: 12.44 kB / 0.9477 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.7638, allocations: 20 kB / 0.9478 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.7641, allocations: 235.8 kB / 0.948 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7641, allocations: 3.938 kB / 0.948 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.7641, allocations: 4 kB / 0.948 GB, free: 8.668 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.7641, allocations: 11.94 kB / 0.948 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.7643, allocations: 95.72 kB / 0.9481 GB, free: 8.562 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009073/0.7652, allocations: 1.433 MB / 0.9495 GB, free: 7.043 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 7.83e-05/0.7653, allocations: 169.1 kB / 0.9497 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.7653, allocations: 84.14 kB / 0.9497 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.7654, allocations: 83.27 kB / 0.9498 GB, free: 6.699 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.7654, allocations: 109.8 kB / 0.9499 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.7654, allocations: 0 / 0.9499 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.7655, allocations: 49.42 kB / 0.95 GB, free: 6.527 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.7655, allocations: 126.7 kB / 0.9501 GB, free: 6.391 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.7658, allocations: 291 kB / 0.9504 GB, free: 6.105 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.7658, allocations: 25.7 kB / 0.9504 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.7659, allocations: 147.9 kB / 0.9505 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.7659, allocations: 0 / 0.9505 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.766, allocations: 13.72 kB / 0.9505 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7661, allocations: 338.8 kB / 0.9509 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.219e-05/0.7661, allocations: 4 kB / 0.9509 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.277e-05/0.7661, allocations: 27.38 kB / 0.9509 GB, free: 5.523 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.7662, allocations: 31.44 kB / 0.9509 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.7662, allocations: 0 / 0.9509 GB, free: 5.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000124/0.7663, allocations: 77.28 kB / 0.951 GB, free: 5.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.7663, allocations: 8 kB / 0.951 GB, free: 5.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.7663, allocations: 4.125 kB / 0.951 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.7664, allocations: 0 / 0.951 GB, free: 5.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.481e-05/0.7664, allocations: 15.98 kB / 0.951 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7664, allocations: 0 / 0.951 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.7665, allocations: 23.69 kB / 0.9511 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.7665, allocations: 0 / 0.9511 GB, free: 5.348 MB / 0.7012 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.0001046/0.7666, allocations: 201.7 kB / 0.9512 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/0.7667, allocations: 124.8 kB / 0.9514 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.7667, allocations: 125.9 kB / 0.9515 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/0.7668, allocations: 184.2 kB / 0.9517 GB, free: 4.688 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.879e-05/0.7669, allocations: 185.1 kB / 0.9518 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.7669, allocations: 176.3 kB / 0.952 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002618/0.7672, allocations: 469 kB / 0.9525 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/0.7672, allocations: 109 kB / 0.9526 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.7673, allocations: 104.9 kB / 0.9527 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.928e-05/0.7673, allocations: 184.3 kB / 0.9528 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.7674, allocations: 181.7 kB / 0.953 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.813e-05/0.7675, allocations: 190 kB / 0.9532 GB, free: 3.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-05/0.7675, allocations: 176.3 kB / 0.9534 GB, free: 2.84 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001292/0.7677, allocations: 339.4 kB / 0.9537 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.7678, allocations: 205.7 kB / 0.9539 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/0.7679, allocations: 184.2 kB / 0.9541 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.768, allocations: 101 kB / 0.9541 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.768, allocations: 184.2 kB / 0.9543 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/0.7681, allocations: 101 kB / 0.9544 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001761/0.7682, allocations: 210 kB / 0.9546 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7682, allocations: 0 / 0.9546 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002335/0.7685, allocations: 24 kB / 0.9546 GB, free: 1.445 MB / 0.7012 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.0001038/0.7686, allocations: 175.4 kB / 0.9548 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 6.486e-05/0.7687, allocations: 16.06 kB / 0.9548 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7687, allocations: 4 kB / 0.9548 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.483e-06/0.7687, allocations: 0 / 0.9548 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006896/0.7694, allocations: 0.5277 MB / 0.9553 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.7698, allocations: 365.3 kB / 0.9557 GB, free: 340 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7701, allocations: 0.7245 MB / 0.9564 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 7.684e-05/0.7701, allocations: 21.95 kB / 0.9564 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.7702, allocations: 15.44 kB / 0.9564 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7702, allocations: 0 / 0.9564 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of Templates: time 0.004772/0.775, allocations: 2.493 MB / 0.9589 GB, free: 13.11 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)