Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 300.3 kB / 303 MB, free: 9.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.144/1.144, allocations: 180.9 MB / 0.5261 GB, free: 14.67 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 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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002592/0.002592, allocations: 109.2 kB / 0.7248 GB, free: 39.97 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1432, allocations: 94.15 MB / 0.8167 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1812/0.3243, allocations: 168.1 MB / 0.9809 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007353/0.3317, allocations: 6.571 MB / 0.9873 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.332, allocations: 15.88 kB / 0.9873 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.3325, allocations: 170.7 kB / 0.9875 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.3343, allocations: 0.8752 MB / 0.9883 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007822/0.3351, allocations: 340.8 kB / 0.9887 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.3358, allocations: 0.7251 MB / 0.9894 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003593/0.3362, allocations: 227.4 kB / 0.9896 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009346/0.3371, allocations: 0.5642 MB / 0.9901 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.3375, allocations: 287 kB / 0.9904 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.3375, allocations: 24 kB / 0.9904 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005579/0.3381, allocations: 367.1 kB / 0.9908 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.3382, allocations: 103.7 kB / 0.9909 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3383, allocations: 167.1 kB / 0.991 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005848/0.3389, allocations: 474.2 kB / 0.9915 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3389, allocations: 0 / 0.9915 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3389, allocations: 0 / 0.9915 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.3389, allocations: 4 kB / 0.9915 GB, free: 1.801 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008069/0.3397, allocations: 0.6306 MB / 0.9921 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3398, allocations: 8.031 kB / 0.9921 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.744e-05/0.3398, allocations: 62.53 kB / 0.9922 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.3401, allocations: 63.67 kB / 0.9922 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000486/0.3406, allocations: 333.4 kB / 0.9926 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.3406, allocations: 20.56 kB / 0.9926 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.3407, allocations: 24 kB / 0.9926 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.3411, allocations: 319.6 kB / 0.9929 GB, free: 240 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3412, allocations: 0 / 0.9929 GB, free: 240 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.3412, allocations: 12 kB / 0.9929 GB, free: 228 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.3412, allocations: 8 kB / 0.9929 GB, free: 220 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3416, allocations: 209.4 kB / 0.9931 GB, free: 8 kB / 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.001532/0.3431, allocations: 1.523 MB / 0.9946 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.3434, allocations: 114.5 kB / 0.9947 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.3435, allocations: 88.78 kB / 0.9948 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005513/0.3441, allocations: 303.2 kB / 0.9951 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3441, allocations: 34.55 kB / 0.9951 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.3441, allocations: 0 / 0.9951 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0006976/0.3448, allocations: 273.6 kB / 0.9954 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3448, allocations: 55.41 kB / 0.9954 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.3451, allocations: 308.5 kB / 0.9957 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3452, allocations: 29.7 kB / 0.9958 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.3453, allocations: 184.3 kB / 0.9959 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.3453, allocations: 51.56 kB / 0.996 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.659e-05/0.3454, allocations: 41.66 kB / 0.996 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3456, allocations: 338.8 kB / 0.9963 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3457, allocations: 59.95 kB / 0.9964 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3459, allocations: 109.1 kB / 0.9965 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.3462, allocations: 184.9 kB / 0.9967 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3462, allocations: 0 / 0.9967 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003843/0.3466, allocations: 213.3 kB / 0.9969 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3466, allocations: 4 kB / 0.9969 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3466, allocations: 7.938 kB / 0.9969 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3466, allocations: 0 / 0.9969 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3468, allocations: 35.98 kB / 0.9969 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.3468, allocations: 3.984 kB / 0.9969 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.3469, allocations: 27.84 kB / 0.997 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.554e-05/0.3469, allocations: 16.14 kB / 0.997 GB, free: 11.74 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001382/0.3471, allocations: 153.6 kB / 0.9971 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.3471, allocations: 27.81 kB / 0.9972 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.3475, allocations: 204.3 kB / 0.9973 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3475, allocations: 11.86 kB / 0.9974 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3475, allocations: 4 kB / 0.9974 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3475, allocations: 0 / 0.9974 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009833/0.3485, allocations: 0.6876 MB / 0.998 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3485, allocations: 0 / 0.998 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.3487, allocations: 27.98 kB / 0.9981 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3487, allocations: 0 / 0.9981 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3487, allocations: 11.94 kB / 0.9981 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3487, allocations: 7.938 kB / 0.9981 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3487, allocations: 0 / 0.9981 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.3491, allocations: 337.2 kB / 0.9984 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3492, allocations: 120.8 kB / 0.9985 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.3493, allocations: 11.94 kB / 0.9985 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.3494, allocations: 11.98 kB / 0.9985 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.3494, allocations: 11.98 kB / 0.9985 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.3495, allocations: 8 kB / 0.9986 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002121/0.3497, allocations: 223 kB / 0.9988 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3497, allocations: 0 / 0.9988 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003435/0.35, allocations: 71.89 kB / 0.9988 GB, free: 9.688 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * 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.0009539/0.351, allocations: 0.9375 MB / 0.9998 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.3513, allocations: 151.8 kB / 0.9999 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3513, allocations: 3.938 kB / 0.9999 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.3515, allocations: 76.58 kB / 1 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.3522, allocations: 151.7 kB / 1 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.3555, allocations: 2.812 MB / 1.003 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.3559, allocations: 0.7795 MB / 1.004 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.3561, allocations: 62.94 kB / 1.004 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.3562, allocations: 91.41 kB / 1.004 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.3562, allocations: 0 / 1.004 GB, free: 4.418 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/0.7061, allocations: 8.186 MB / 1.012 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.588, allocations: 6.422 kB / 1.012 GB, free: 191.8 MB / 0.7481 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.366119110956788] Failed to read output from testmodel.py, exit status != 0: 8.65767932869494 8.670146597 8.329170675 Calling exit ...