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.001298/0.001298, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001367/0.001367, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.247/1.247, allocations: 222.9 MB / 241 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.002002/0.002001, allocations: 273.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9056/0.9056, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 98.31 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4331/0.5855, allocations: 174 MB / 0.8515 GB, free: 448 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008794/0.5943, allocations: 9.503 MB / 0.8608 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.5946, allocations: 7.938 kB / 0.8608 GB, free: 6.895 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 (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.000622/0.5953, allocations: 195.6 kB / 0.861 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.5955, allocations: 91.31 kB / 0.8611 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.5956, allocations: 71.92 kB / 0.8611 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.596, allocations: 310.7 kB / 0.8614 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.5962, allocations: 149.4 kB / 0.8616 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.5966, allocations: 155.5 kB / 0.8617 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.5967, allocations: 107.4 kB / 0.8618 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.5967, allocations: 16 kB / 0.8618 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.5968, allocations: 16 kB / 0.8619 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.5968, allocations: 35.86 kB / 0.8619 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 8.545e-05/0.5969, allocations: 103.5 kB / 0.862 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.5971, allocations: 217.8 kB / 0.8622 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.5971, allocations: 0 / 0.8622 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5971, allocations: 0 / 0.8622 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.5971, allocations: 0 / 0.8622 GB, free: 5.457 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004248/0.5976, allocations: 475.7 kB / 0.8627 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.5976, allocations: 12.03 kB / 0.8627 GB, free: 4.934 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.5976, allocations: 23.66 kB / 0.8627 GB, free: 4.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.598, allocations: 262.5 kB / 0.8629 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.598, allocations: 16.44 kB / 0.863 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.598, allocations: 19.94 kB / 0.863 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.5983, allocations: 239.8 kB / 0.8632 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.5983, allocations: 0 / 0.8632 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.5984, allocations: 8 kB / 0.8632 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.5984, allocations: 12.88 kB / 0.8632 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5985, allocations: 87.83 kB / 0.8633 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009053/0.5994, allocations: 1.429 MB / 0.8647 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.5995, allocations: 181 kB / 0.8649 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.5995, allocations: 84.17 kB / 0.865 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.5996, allocations: 75.28 kB / 0.865 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.5996, allocations: 109.8 kB / 0.8651 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5996, allocations: 0 / 0.8651 GB, free: 2.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 7.46e-05/0.5997, allocations: 49.42 kB / 0.8652 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.5998, allocations: 130.6 kB / 0.8653 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.6, allocations: 291 kB / 0.8656 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.6001, allocations: 25.7 kB / 0.8656 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.488e-05/0.6002, allocations: 143.9 kB / 0.8657 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.6002, allocations: 0 / 0.8657 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.6002, allocations: 21.72 kB / 0.8658 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6003, allocations: 334.8 kB / 0.8661 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.072e-05/0.6003, allocations: 0 / 0.8661 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.6004, allocations: 31.44 kB / 0.8661 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.6004, allocations: 43.17 kB / 0.8662 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6004, allocations: 112 / 0.8662 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000116/0.6005, allocations: 73.3 kB / 0.8662 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6006, allocations: 10.34 kB / 0.8662 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6006, allocations: 0 / 0.8662 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.6006, allocations: 0 / 0.8662 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/0.6006, allocations: 11.98 kB / 0.8662 GB, free: 1.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.6007, allocations: 3.938 kB / 0.8662 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.6007, allocations: 27.81 kB / 0.8663 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6007, allocations: 0 / 0.8663 GB, free: 0.9766 MB / 0.6231 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.0001043/0.6008, allocations: 201.1 kB / 0.8665 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.6009, allocations: 120.7 kB / 0.8666 GB, free: 0.6445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.601, allocations: 129.9 kB / 0.8667 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/0.601, allocations: 180.3 kB / 0.8669 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.589e-05/0.6011, allocations: 184.2 kB / 0.8671 GB, free: 144 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-05/0.6012, allocations: 180.2 kB / 0.8672 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/0.6014, allocations: 469.1 kB / 0.8677 GB, free: 15.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.6015, allocations: 108.9 kB / 0.8678 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.6015, allocations: 101 kB / 0.8679 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.221e-05/0.6016, allocations: 188.2 kB / 0.8681 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.6016, allocations: 180.2 kB / 0.8682 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.634e-05/0.6017, allocations: 180.3 kB / 0.8684 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.507e-05/0.6018, allocations: 184.2 kB / 0.8686 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.6019, allocations: 327.8 kB / 0.8689 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.244e-05/0.602, allocations: 201.8 kB / 0.8691 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.899e-05/0.6021, allocations: 188.3 kB / 0.8693 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.6022, allocations: 104.9 kB / 0.8694 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.98e-05/0.6022, allocations: 176.3 kB / 0.8695 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.6023, allocations: 108.9 kB / 0.8696 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001653/0.6025, allocations: 206 kB / 0.8698 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6025, allocations: 4 kB / 0.8698 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002464/0.6027, allocations: 23.98 kB / 0.8699 GB, free: 13.09 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.0001086/0.6028, allocations: 174.5 kB / 0.87 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 7.161e-05/0.6029, allocations: 11.94 kB / 0.87 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6029, allocations: 4 kB / 0.87 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.6029, allocations: 3.938 kB / 0.87 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.6036, allocations: 0.5392 MB / 0.8706 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004634/0.6041, allocations: 357.5 kB / 0.8709 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.6044, allocations: 0.7322 MB / 0.8716 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.672e-05/0.6045, allocations: 21.94 kB / 0.8716 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.6045, allocations: 15.44 kB / 0.8717 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of SimCode: time 2.31e-07/0.6045, allocations: 0 / 0.8717 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.005004/0.6096, allocations: 2.413 MB / 0.874 GB, free: 8.832 MB / 0.6387 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)