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.001217/0.001217, allocations: 105.6 kB / 16.27 MB, free: 5.957 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.001178/0.001178, allocations: 190.3 kB / 17.2 MB, free: 5.59 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 279.4 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.219/1.219, allocations: 178.5 MB / 0.5079 GB, free: 12.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 99.84 kB / 0.6071 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1784, allocations: 89.14 MB / 0.6942 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.495/0.6735, allocations: 174 MB / 0.8641 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.6908, allocations: 9.502 MB / 0.8734 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.6913, allocations: 9.469 kB / 0.8734 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009927/0.6924, allocations: 193.2 kB / 0.8735 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0004054/0.6928, allocations: 95.31 kB / 0.8736 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.6931, allocations: 63.91 kB / 0.8737 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.6937, allocations: 314.7 kB / 0.874 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.6941, allocations: 152.5 kB / 0.8741 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.6947, allocations: 155.4 kB / 0.8743 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.6949, allocations: 103.5 kB / 0.8744 GB, free: 1.633 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.695, allocations: 16 kB / 0.8744 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 5.097e-05/0.695, allocations: 19.94 kB / 0.8744 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.13e-05/0.6951, allocations: 27.92 kB / 0.8745 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.6953, allocations: 111.4 kB / 0.8746 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.6956, allocations: 207.2 kB / 0.8748 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6956, allocations: 0 / 0.8748 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6957, allocations: 0 / 0.8748 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.6957, allocations: 0 / 0.8748 GB, free: 1.258 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.0006899/0.6964, allocations: 474.7 kB / 0.8752 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6964, allocations: 12.03 kB / 0.8752 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.6965, allocations: 27.64 kB / 0.8752 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004257/0.697, allocations: 252.2 kB / 0.8755 GB, free: 436 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.697, allocations: 16.44 kB / 0.8755 GB, free: 420 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.697, allocations: 20 kB / 0.8755 GB, free: 400 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004721/0.6975, allocations: 227.8 kB / 0.8757 GB, free: 140 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.6976, allocations: 3.938 kB / 0.8757 GB, free: 136 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.6976, allocations: 16 kB / 0.8758 GB, free: 120 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.6976, allocations: 7.938 kB / 0.8758 GB, free: 112 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.6979, allocations: 95.77 kB / 0.8759 GB, free: 16 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.6997, allocations: 1.433 MB / 0.8773 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.6998, allocations: 169.1 kB / 0.8774 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.6999, allocations: 84.17 kB / 0.8775 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.7, allocations: 75.28 kB / 0.8776 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.7, allocations: 105.8 kB / 0.8777 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=0): time 1.794e-06/0.7001, allocations: 0 / 0.8777 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of matching and sorting (n=0): time 0.0001257/0.7002, allocations: 53.45 kB / 0.8777 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.815e-05/0.7003, allocations: 126.7 kB / 0.8778 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.7008, allocations: 294.9 kB / 0.8781 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.7008, allocations: 25.7 kB / 0.8781 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001644/0.701, allocations: 143.9 kB / 0.8783 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-06/0.701, allocations: 0 / 0.8783 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.7011, allocations: 17.72 kB / 0.8783 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002077/0.7013, allocations: 338.8 kB / 0.8786 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.7013, allocations: 0 / 0.8786 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.651e-05/0.7014, allocations: 31.42 kB / 0.8787 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.7015, allocations: 39.38 kB / 0.8787 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.7015, allocations: 0 / 0.8787 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002175/0.7017, allocations: 73.34 kB / 0.8788 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7018, allocations: 8 kB / 0.8788 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7018, allocations: 0 / 0.8788 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.7018, allocations: 0 / 0.8788 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.7019, allocations: 11.94 kB / 0.8788 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7019, allocations: 4.047 kB / 0.8788 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.702, allocations: 23.62 kB / 0.8788 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.7021, allocations: 8.625 kB / 0.8788 GB, free: 12.79 MB / 0.6387 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.000194/0.7023, allocations: 201.1 kB / 0.879 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.7024, allocations: 120.8 kB / 0.8791 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.7025, allocations: 129.9 kB / 0.8792 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/0.7027, allocations: 176.3 kB / 0.8794 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001162/0.7028, allocations: 184.2 kB / 0.8796 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001056/0.7029, allocations: 180.8 kB / 0.8798 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004924/0.7034, allocations: 477 kB / 0.8802 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-05/0.7035, allocations: 101 kB / 0.8803 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.7036, allocations: 105.5 kB / 0.8804 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.586e-05/0.7037, allocations: 180.2 kB / 0.8806 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.679e-05/0.7038, allocations: 180.3 kB / 0.8808 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.04e-05/0.7039, allocations: 180.2 kB / 0.8809 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.265e-05/0.704, allocations: 189.2 kB / 0.8811 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.7042, allocations: 327.7 kB / 0.8814 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.7044, allocations: 209.8 kB / 0.8816 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.7045, allocations: 180.2 kB / 0.8818 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.7047, allocations: 105 kB / 0.8819 GB, free: 9.426 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.7048, allocations: 180.2 kB / 0.8821 GB, free: 9.242 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.185e-05/0.7049, allocations: 108.9 kB / 0.8822 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002944/0.7052, allocations: 206 kB / 0.8824 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7052, allocations: 0 / 0.8824 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003781/0.7056, allocations: 24 kB / 0.8824 GB, free: 8.906 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.0001738/0.7058, allocations: 174.5 kB / 0.8826 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 9.443e-05/0.7059, allocations: 19.86 kB / 0.8826 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.7059, allocations: 0 / 0.8826 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.7059, allocations: 4 kB / 0.8826 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.707, allocations: 0.5306 MB / 0.8831 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.7077, allocations: 390.6 kB / 0.8835 GB, free: 7.758 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.708, allocations: 0.7284 MB / 0.8842 GB, free: 7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.7081, allocations: 15.44 kB / 0.8842 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.7081, allocations: 3.938 kB / 0.8842 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of Templates: time 0.005581/0.7137, allocations: 2.365 MB / 0.8865 GB, free: 4.668 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)