Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.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.001237/0.001237, allocations: 105.2 kB / 19.72 MB, free: 2.234 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.001293/0.001293, allocations: 214.7 kB / 23.04 MB, free: 5.07 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.382/1.382, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.002373/0.002373, allocations: 298.3 kB / 313.5 MB, free: 2.793 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.159/1.159, allocations: 180.6 MB / 0.5377 GB, free: 12.95 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.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",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.002714/0.002714, allocations: 102.6 kB / 0.7404 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1687, allocations: 95.38 MB / 0.8335 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6394/0.8082, allocations: 185.6 MB / 1.015 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006023/0.8142, allocations: 4.5 MB / 1.019 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008891/0.8151, allocations: 27.97 kB / 1.019 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.8159, allocations: 249.8 kB / 1.019 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.8184, allocations: 0.8013 MB / 1.02 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004351/0.8227, allocations: 1.597 MB / 1.022 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.8245, allocations: 1.276 MB / 1.023 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005906/0.8251, allocations: 369 kB / 1.023 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.8263, allocations: 0.5966 MB / 1.024 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005482/0.8269, allocations: 434 kB / 1.024 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.827, allocations: 44.75 kB / 1.024 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/0.8299, allocations: 1.682 MB / 1.026 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002252/0.8301, allocations: 196.4 kB / 1.026 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003445/0.8304, allocations: 304.9 kB / 1.027 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002487/0.8329, allocations: 1.308 MB / 1.028 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8329, allocations: 0 / 1.028 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8329, allocations: 1.844 kB / 1.028 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.8329, allocations: 1.031 kB / 1.028 GB, free: 2.977 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002051/0.835, allocations: 0.9684 MB / 1.029 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.835, allocations: 10.94 kB / 1.029 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.836e-05/0.8351, allocations: 11.59 kB / 1.029 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.585e-05/0.8352, allocations: 81.89 kB / 1.029 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.8371, allocations: 288.6 kB / 1.029 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/0.8378, allocations: 407.7 kB / 1.03 GB, free: 18.11 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/0.8379, allocations: 33.47 kB / 1.03 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.64e-05/0.8379, allocations: 44.55 kB / 1.03 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.8388, allocations: 0.5456 MB / 1.03 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.8389, allocations: 3.094 kB / 1.03 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.8389, allocations: 23.08 kB / 1.03 GB, free: 17.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.8389, allocations: 14.12 kB / 1.03 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.8398, allocations: 456.3 kB / 1.031 GB, free: 17.98 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.002475/0.8423, allocations: 2.078 MB / 1.033 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008476/0.8432, allocations: 388.9 kB / 1.033 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004234/0.8436, allocations: 211.5 kB / 1.033 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005159/0.8441, allocations: 103.1 kB / 1.033 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000575/0.8447, allocations: 300.3 kB / 1.034 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.8447, allocations: 0 / 1.034 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.001651/0.8463, allocations: 0.6912 MB / 1.034 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.8464, allocations: 60.56 kB / 1.034 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.8469, allocations: 493.9 kB / 1.035 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.8469, allocations: 36.14 kB / 1.035 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.8471, allocations: 262.9 kB / 1.035 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/0.8472, allocations: 132.9 kB / 1.035 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.8473, allocations: 85.16 kB / 1.035 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8475, allocations: 365.1 kB / 1.036 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.8479, allocations: 203 kB / 1.036 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000481/0.8484, allocations: 311.1 kB / 1.036 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008832/0.8493, allocations: 0.5412 MB / 1.037 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.8493, allocations: 0.9688 kB / 1.037 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001192/0.8505, allocations: 0.6542 MB / 1.037 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.8505, allocations: 72.28 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.8505, allocations: 4.25 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.8506, allocations: 2.562 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.851, allocations: 99.94 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.851, allocations: 5.938 kB / 1.037 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.8516, allocations: 80.47 kB / 1.038 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/0.8516, allocations: 23.36 kB / 1.038 GB, free: 15.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002567/0.8519, allocations: 190.7 kB / 1.038 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.8519, allocations: 63.56 kB / 1.038 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.8531, allocations: 0.5386 MB / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/0.8531, allocations: 2.812 kB / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8531, allocations: 0 / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.8531, allocations: 6.578 kB / 1.038 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.8551, allocations: 1.313 MB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8551, allocations: 4.625 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.8555, allocations: 81.58 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.8555, allocations: 5.188 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.8555, allocations: 13.09 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.8556, allocations: 5.625 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8556, allocations: 8.531 kB / 1.04 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.857, allocations: 0.9496 MB / 1.041 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.8573, allocations: 98.98 kB / 1.041 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.144e-05/0.8573, allocations: 13.62 kB / 1.041 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004107/0.8577, allocations: 34.72 kB / 1.041 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8579, allocations: 55.23 kB / 1.041 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.8579, allocations: 14.72 kB / 1.041 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004185/0.8583, allocations: 350.4 kB / 1.041 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8583, allocations: 0 / 1.041 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006338/0.859, allocations: 152.6 kB / 1.041 GB, free: 14.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002149/0.8611, allocations: 1.57 MB / 1.043 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.8623, allocations: 0.563 MB / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.8623, allocations: 0 / 1.043 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/0.8629, allocations: 274.2 kB / 1.044 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.8643, allocations: 296.8 kB / 1.044 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008411/0.8727, allocations: 5.005 MB / 1.049 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.8733, allocations: 0.8636 MB / 1.05 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006343/0.874, allocations: 133.2 kB / 1.05 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.8743, allocations: 176.9 kB / 1.05 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.8743, allocations: 0 / 1.05 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.9168, allocations: 16.35 MB / 1.066 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.54, allocations: 10.67 kB / 1.066 GB, free: 4.438 MB / 0.7325 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.559211493993644] Failed to read output from testmodel.py, exit status != 0: 12.709293865016662 12.725585306 11.889433671 Calling exit ...