Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 217.9 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00239/0.00239, allocations: 301.3 kB / 313.5 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 12.89 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002735/0.002735, allocations: 103.1 kB / 0.7404 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1585, allocations: 95.38 MB / 0.8335 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.6385/0.797, allocations: 183.2 MB / 1.012 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008033/0.805, allocations: 7.956 MB / 1.02 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007275/0.8057, allocations: 28.78 kB / 1.02 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006659/0.8064, allocations: 248.2 kB / 1.02 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.8094, allocations: 1.291 MB / 1.022 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.8112, allocations: 0.7645 MB / 1.022 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001349/0.8125, allocations: 1.098 MB / 1.024 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005162/0.813, allocations: 338.2 kB / 1.024 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/0.8155, allocations: 0.8689 MB / 1.025 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.8162, allocations: 468.5 kB / 1.025 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.8162, allocations: 36.34 kB / 1.025 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.818, allocations: 1.023 MB / 1.026 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.8182, allocations: 170.5 kB / 1.026 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.8184, allocations: 252.1 kB / 1.027 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.8198, allocations: 0.9411 MB / 1.027 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8198, allocations: 0 / 1.027 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8198, allocations: 0.875 kB / 1.027 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8198, allocations: 0 / 1.027 GB, free: 2.633 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.00122/0.8211, allocations: 0.7458 MB / 1.028 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8211, allocations: 10.94 kB / 1.028 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.248e-05/0.8211, allocations: 11.56 kB / 1.028 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.869e-05/0.8212, allocations: 75.66 kB / 1.028 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009392/0.8221, allocations: 157 kB / 1.028 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.8228, allocations: 342 kB / 1.029 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.8228, allocations: 29.5 kB / 1.029 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.258e-05/0.8228, allocations: 36.03 kB / 1.029 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006262/0.8235, allocations: 445.2 kB / 1.029 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.8235, allocations: 1.031 kB / 1.029 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.8235, allocations: 18.41 kB / 1.029 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.8235, allocations: 12.44 kB / 1.029 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.824, allocations: 322.3 kB / 1.03 GB, free: 17.8 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.8261, allocations: 1.977 MB / 1.032 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.8264, allocations: 221.3 kB / 1.032 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.8266, allocations: 136.8 kB / 1.032 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.827, allocations: 80.23 kB / 1.032 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.8271, allocations: 38.28 kB / 1.032 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.8271, allocations: 0 / 1.032 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24): time 0.0009299/0.828, allocations: 455.8 kB / 1.032 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.828, allocations: 53.78 kB / 1.032 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.8284, allocations: 402 kB / 1.033 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.8284, allocations: 29.58 kB / 1.033 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.8286, allocations: 230.8 kB / 1.033 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.8286, allocations: 96.2 kB / 1.033 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.691e-05/0.8287, allocations: 60.44 kB / 1.033 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.8289, allocations: 355.3 kB / 1.034 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.8291, allocations: 110 kB / 1.034 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.8293, allocations: 184.2 kB / 1.034 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.8298, allocations: 305.3 kB / 1.034 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8298, allocations: 1.031 kB / 1.034 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005516/0.8303, allocations: 367.1 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8304, allocations: 5.75 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.8304, allocations: 2.906 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.8304, allocations: 4.469 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.8306, allocations: 66.67 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.8306, allocations: 3.25 kB / 1.035 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.8309, allocations: 39.72 kB / 1.035 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.8309, allocations: 10.03 kB / 1.035 GB, free: 15.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 31 * 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.000192/0.8311, allocations: 175.2 kB / 1.035 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.8312, allocations: 43.72 kB / 1.035 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.8318, allocations: 366.1 kB / 1.035 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.8318, allocations: 3.406 kB / 1.035 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.8319, allocations: 1.031 kB / 1.035 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.8319, allocations: 2.953 kB / 1.035 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.8331, allocations: 0.9138 MB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.8331, allocations: 3.406 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.8334, allocations: 47.52 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.8334, allocations: 3.406 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.8334, allocations: 13 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.8334, allocations: 1.812 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8334, allocations: 7.344 kB / 1.036 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007932/0.8342, allocations: 0.6294 MB / 1.037 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.8343, allocations: 74.19 kB / 1.037 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.8344, allocations: 12.12 kB / 1.037 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.8346, allocations: 10.95 kB / 1.037 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.8346, allocations: 19.7 kB / 1.037 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.8347, allocations: 9.562 kB / 1.037 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002315/0.8349, allocations: 286.1 kB / 1.037 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.8349, allocations: 0.9375 kB / 1.037 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004493/0.8353, allocations: 114.9 kB / 1.037 GB, free: 14.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senH.h_out) * 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 (24): * Single equations (assignments): 24 * 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.001355/0.8367, allocations: 1.221 MB / 1.039 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.8372, allocations: 276.9 kB / 1.039 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8372, allocations: 2.5 kB / 1.039 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002423/0.8375, allocations: 145.1 kB / 1.039 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.8385, allocations: 231.9 kB / 1.039 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.8426, allocations: 3.806 MB / 1.043 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.843, allocations: 0.8304 MB / 1.044 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003032/0.8433, allocations: 98.09 kB / 1.044 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.8435, allocations: 137.9 kB / 1.044 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of SimCode: time 8.71e-07/0.8435, allocations: 0 / 1.044 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03432/0.8778, allocations: 12.01 MB / 1.056 GB, free: 8.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.21, allocations: 9.922 kB / 1.056 GB, free: 8.781 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_MoistAirEnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.33424241200555] Failed to read output from testmodel.py, exit status != 0: 12.377438620023895 12.398197582 11.5743783 Calling exit ...