Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001681/0.001681, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.333/1.333, allocations: 222.9 MB / 241 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.002125/0.002125, allocations: 296.9 kB / 291.4 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 1.069/1.069, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 94.62 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.513/0.6762, allocations: 174.1 MB / 0.8516 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009382/0.6857, allocations: 9.511 MB / 0.8609 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.686, allocations: 11.94 kB / 0.8609 GB, free: 6.879 MB / 0.6231 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 (3) 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 (3) 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.0007377/0.6868, allocations: 190.7 kB / 0.861 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.687, allocations: 91.31 kB / 0.8611 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.6872, allocations: 63.92 kB / 0.8612 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003784/0.6876, allocations: 330.6 kB / 0.8615 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.688, allocations: 204.9 kB / 0.8617 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.6883, allocations: 171.4 kB / 0.8619 GB, free: 5.848 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.6884, allocations: 123.4 kB / 0.862 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.6885, allocations: 24 kB / 0.862 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 3.464e-05/0.6885, allocations: 20 kB / 0.862 GB, free: 5.684 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 8.518e-05/0.6886, allocations: 71.77 kB / 0.8621 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.6888, allocations: 131.3 kB / 0.8622 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.6891, allocations: 293.5 kB / 0.8625 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.6891, allocations: 0 / 0.8625 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6891, allocations: 0 / 0.8625 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.6891, allocations: 0 / 0.8625 GB, free: 5.199 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000587/0.6897, allocations: 0.5088 MB / 0.863 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6897, allocations: 16.03 kB / 0.863 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.6898, allocations: 27.66 kB / 0.863 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004177/0.6902, allocations: 287.4 kB / 0.8633 GB, free: 4.281 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.6903, allocations: 20.56 kB / 0.8633 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.6903, allocations: 24 kB / 0.8634 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.6907, allocations: 327.9 kB / 0.8637 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6907, allocations: 4 kB / 0.8637 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.6908, allocations: 12 kB / 0.8637 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.6908, allocations: 8 kB / 0.8637 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.691, allocations: 144.6 kB / 0.8638 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.6923, allocations: 1.812 MB / 0.8656 GB, free: 1.797 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.6924, allocations: 173.1 kB / 0.8658 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.6925, allocations: 80.14 kB / 0.8658 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.6925, allocations: 79.28 kB / 0.8659 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/0.6926, allocations: 113.8 kB / 0.866 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 2.795e-06/0.6926, allocations: 3.984 kB / 0.866 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 0.0001087/0.6927, allocations: 49.42 kB / 0.8661 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.778e-05/0.6928, allocations: 134.6 kB / 0.8662 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004304/0.6933, allocations: 369.7 kB / 0.8666 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.6933, allocations: 25.7 kB / 0.8666 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6934, allocations: 171.8 kB / 0.8667 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.466e-06/0.6934, allocations: 0 / 0.8667 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.6935, allocations: 21.72 kB / 0.8668 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6936, allocations: 338.8 kB / 0.8671 GB, free: 204 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.6937, allocations: 0 / 0.8671 GB, free: 204 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.888e-05/0.6937, allocations: 42.97 kB / 0.8671 GB, free: 148 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.859e-05/0.6938, allocations: 44.23 kB / 0.8672 GB, free: 88 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6938, allocations: 0 / 0.8672 GB, free: 88 kB / 0.6231 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.694, allocations: 93.27 kB / 0.8673 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.694, allocations: 4 kB / 0.8673 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.694, allocations: 160 / 0.8673 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.694, allocations: 8 kB / 0.8673 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.6941, allocations: 11.94 kB / 0.8673 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.6941, allocations: 0 / 0.8673 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.6942, allocations: 31.53 kB / 0.8673 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.6942, allocations: 4 kB / 0.8673 GB, free: 15.93 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001471/0.6944, allocations: 217 kB / 0.8675 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.6945, allocations: 132.6 kB / 0.8677 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.546e-05/0.6946, allocations: 131 kB / 0.8678 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-05/0.6946, allocations: 180.2 kB / 0.8679 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-05/0.6947, allocations: 176.3 kB / 0.8681 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.498e-05/0.6948, allocations: 184.2 kB / 0.8683 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.6951, allocations: 493.1 kB / 0.8688 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-05/0.6952, allocations: 101 kB / 0.8689 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.6952, allocations: 113 kB / 0.869 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.6953, allocations: 184.2 kB / 0.8691 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.6954, allocations: 186.3 kB / 0.8693 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.128e-05/0.6955, allocations: 180.5 kB / 0.8695 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.168e-05/0.6955, allocations: 180.2 kB / 0.8697 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.6957, allocations: 335.5 kB / 0.87 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.6959, allocations: 213.7 kB / 0.8702 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.696, allocations: 184.2 kB / 0.8704 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.6961, allocations: 101 kB / 0.8705 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.6962, allocations: 184.2 kB / 0.8706 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.6963, allocations: 109 kB / 0.8707 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002775/0.6965, allocations: 263.2 kB / 0.871 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6965, allocations: 0 / 0.871 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002742/0.6968, allocations: 28 kB / 0.871 GB, free: 11.91 MB / 0.6387 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.0001781/0.697, allocations: 182.5 kB / 0.8712 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 8.619e-05/0.6971, allocations: 12.19 kB / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6971, allocations: 4.062 kB / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.6971, allocations: 3.938 kB / 0.8712 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008362/0.698, allocations: 0.5487 MB / 0.8717 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006568/0.6986, allocations: 453.8 kB / 0.8722 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.699, allocations: 0.7517 MB / 0.8729 GB, free: 9.918 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 9.225e-05/0.6991, allocations: 34.97 kB / 0.8729 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.6992, allocations: 19.44 kB / 0.873 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of SimCode: time 3.41e-07/0.6992, allocations: 0 / 0.873 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of Templates: time 0.006184/0.7054, allocations: 3.158 MB / 0.876 GB, free: 6.777 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)