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.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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001093/0.001093, allocations: 190.8 kB / 16.25 MB, free: 6.145 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 279 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9439/0.9439, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 99.59 kB / 0.5948 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1451, allocations: 86.98 MB / 0.6797 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4586/0.6037, allocations: 179.4 MB / 0.8549 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005204/0.609, allocations: 4.429 MB / 0.8592 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004666/0.6095, allocations: 18.06 kB / 0.8592 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.61, allocations: 208.6 kB / 0.8594 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001583/0.6117, allocations: 0.7034 MB / 0.8601 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.6145, allocations: 1.413 MB / 0.8615 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00109/0.6156, allocations: 1.258 MB / 0.8627 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004714/0.6161, allocations: 431.7 kB / 0.8632 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007374/0.6169, allocations: 0.5732 MB / 0.8637 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.6173, allocations: 429.6 kB / 0.8641 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.6174, allocations: 45.19 kB / 0.8642 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.6195, allocations: 1.605 MB / 0.8657 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.6196, allocations: 191.3 kB / 0.8659 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.6199, allocations: 304.6 kB / 0.8662 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.6214, allocations: 1.413 MB / 0.8676 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6214, allocations: 0 / 0.8676 GB, free: 364 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6214, allocations: 2.281 kB / 0.8676 GB, free: 364 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6214, allocations: 0 / 0.8676 GB, free: 364 kB / 0.5762 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.001537/0.6229, allocations: 1.02 MB / 0.8686 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.623, allocations: 14.11 kB / 0.8686 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.763e-05/0.6231, allocations: 81.5 kB / 0.8687 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.625, allocations: 276.9 kB / 0.8689 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.6256, allocations: 447.5 kB / 0.8694 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.6256, allocations: 30.94 kB / 0.8694 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/0.6257, allocations: 46.22 kB / 0.8694 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009128/0.6266, allocations: 0.5517 MB / 0.87 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6267, allocations: 11.92 kB / 0.87 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.048e-05/0.6267, allocations: 14.78 kB / 0.87 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.6267, allocations: 14.03 kB / 0.87 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009221/0.6276, allocations: 456.9 kB / 0.8705 GB, free: 14.29 MB / 0.5919 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.002125/0.6298, allocations: 2.126 MB / 0.8725 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008728/0.6307, allocations: 405.1 kB / 0.8729 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004353/0.6311, allocations: 233.6 kB / 0.8731 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.6317, allocations: 394.5 kB / 0.8735 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.6323, allocations: 290 kB / 0.8738 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.6323, allocations: 0 / 0.8738 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001591/0.6339, allocations: 0.6868 MB / 0.8745 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.634, allocations: 73.19 kB / 0.8745 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.6345, allocations: 485.5 kB / 0.875 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.6345, allocations: 42.75 kB / 0.875 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.6347, allocations: 259.3 kB / 0.8753 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/0.6348, allocations: 124.5 kB / 0.8754 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.6349, allocations: 87.47 kB / 0.8755 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.635, allocations: 367.3 kB / 0.8758 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.6355, allocations: 200 kB / 0.876 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005171/0.636, allocations: 314.9 kB / 0.8763 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/0.6369, allocations: 0.5394 MB / 0.8769 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.6369, allocations: 0 / 0.8769 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001136/0.6381, allocations: 0.655 MB / 0.8775 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.865e-05/0.6381, allocations: 59.34 kB / 0.8775 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6381, allocations: 6.844 kB / 0.8776 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.6382, allocations: 9.312 kB / 0.8776 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/0.6386, allocations: 102.6 kB / 0.8777 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6386, allocations: 8.688 kB / 0.8777 GB, free: 8.891 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.6391, allocations: 86.47 kB / 0.8778 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.6392, allocations: 19.25 kB / 0.8778 GB, free: 8.836 MB / 0.5919 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.0002014/0.6394, allocations: 200.5 kB / 0.878 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.6395, allocations: 57.12 kB / 0.878 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.6406, allocations: 0.5289 MB / 0.8785 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6406, allocations: 4.312 kB / 0.8785 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6406, allocations: 0 / 0.8785 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6406, allocations: 7.984 kB / 0.8785 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.6426, allocations: 1.345 MB / 0.8799 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.6426, allocations: 10.61 kB / 0.8799 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.643, allocations: 71.3 kB / 0.8799 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.643, allocations: 8.25 kB / 0.8799 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.6431, allocations: 9.781 kB / 0.88 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.6431, allocations: 10.83 kB / 0.88 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6431, allocations: 2.531 kB / 0.88 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.6446, allocations: 0.9417 MB / 0.8809 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.6448, allocations: 178.1 kB / 0.8811 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.033e-05/0.6449, allocations: 13.62 kB / 0.8811 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/0.6453, allocations: 42.64 kB / 0.8811 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.6455, allocations: 51.59 kB / 0.8812 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6455, allocations: 24.56 kB / 0.8812 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003373/0.6458, allocations: 344 kB / 0.8815 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6458, allocations: 0 / 0.8815 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004883/0.6463, allocations: 149.9 kB / 0.8817 GB, free: 6.242 MB / 0.5919 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.001973/0.6483, allocations: 1.568 MB / 0.8832 GB, free: 5.051 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.6494, allocations: 0.5894 MB / 0.8838 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6494, allocations: 6.906 kB / 0.8838 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006221/0.6501, allocations: 289 kB / 0.884 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.6514, allocations: 295.1 kB / 0.8843 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/0.658, allocations: 5.254 MB / 0.8895 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.6585, allocations: 0.8704 MB / 0.8903 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005348/0.659, allocations: 132.6 kB / 0.8904 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002609/0.6593, allocations: 171.4 kB / 0.8906 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.6593, allocations: 0 / 0.8906 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/0.7894, allocations: 15.48 MB / 0.9057 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003054/0.7897, allocations: 257.2 kB / 0.906 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.826, allocations: 0 / 0.906 GB, free: 15.48 MB / 0.6231 GB (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 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)