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.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 283.2 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 169.3 MB / 0.4982 GB, free: 13.9 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 99.25 kB / 0.5953 GB, free: 27.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1389, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4509/0.5899, allocations: 181.8 MB / 0.8578 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005622/0.5955, allocations: 4.441 MB / 0.8621 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006001/0.5961, allocations: 17.94 kB / 0.8621 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006403/0.5968, allocations: 257.7 kB / 0.8624 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.5986, allocations: 0.7608 MB / 0.8631 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.6017, allocations: 1.506 MB / 0.8646 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001128/0.6029, allocations: 1.259 MB / 0.8658 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005385/0.6034, allocations: 451.5 kB / 0.8663 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007778/0.6042, allocations: 0.5649 MB / 0.8668 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004241/0.6046, allocations: 410.2 kB / 0.8672 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.555e-05/0.6047, allocations: 45.19 kB / 0.8673 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.607, allocations: 1.542 MB / 0.8688 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.6072, allocations: 182.8 kB / 0.8689 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.6074, allocations: 306.6 kB / 0.8692 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.609, allocations: 1.298 MB / 0.8705 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.609, allocations: 0 / 0.8705 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.112e-06/0.609, allocations: 2.438 kB / 0.8705 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.6091, allocations: 0 / 0.8705 GB, free: 13.97 MB / 0.5919 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.001576/0.6106, allocations: 1.028 MB / 0.8715 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.6107, allocations: 10.09 kB / 0.8715 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.324e-05/0.6108, allocations: 77.25 kB / 0.8716 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.6127, allocations: 280.1 kB / 0.8718 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006683/0.6134, allocations: 448.1 kB / 0.8723 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.6134, allocations: 30 kB / 0.8723 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.071e-05/0.6135, allocations: 46.78 kB / 0.8723 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009551/0.6144, allocations: 0.5415 MB / 0.8729 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6145, allocations: 10.84 kB / 0.8729 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.6145, allocations: 14.75 kB / 0.8729 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.6145, allocations: 18.02 kB / 0.8729 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.6155, allocations: 452.2 kB / 0.8734 GB, free: 11.91 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.002303/0.6178, allocations: 2.128 MB / 0.8754 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.6187, allocations: 415.7 kB / 0.8758 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004586/0.6192, allocations: 227.7 kB / 0.876 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.6198, allocations: 401.8 kB / 0.8764 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000564/0.6204, allocations: 290.2 kB / 0.8767 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/0.6204, allocations: 3.938 kB / 0.8767 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001657/0.6221, allocations: 0.6846 MB / 0.8774 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.6221, allocations: 56.78 kB / 0.8774 GB, free: 8.75 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/0.6227, allocations: 496.3 kB / 0.8779 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.6227, allocations: 32.36 kB / 0.8779 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.6229, allocations: 269.8 kB / 0.8782 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.623, allocations: 118 kB / 0.8783 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.6231, allocations: 105.9 kB / 0.8784 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6233, allocations: 362.9 kB / 0.8788 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.6237, allocations: 195.7 kB / 0.8789 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005145/0.6243, allocations: 318.8 kB / 0.8792 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.6252, allocations: 0.5393 MB / 0.8798 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.6252, allocations: 0 / 0.8798 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001202/0.6264, allocations: 0.6516 MB / 0.8804 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/0.6265, allocations: 64.69 kB / 0.8805 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6265, allocations: 2.688 kB / 0.8805 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6265, allocations: 11.69 kB / 0.8805 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.627, allocations: 102.1 kB / 0.8806 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.627, allocations: 2.562 kB / 0.8806 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/0.6275, allocations: 77.39 kB / 0.8807 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.732e-05/0.6276, allocations: 25.77 kB / 0.8807 GB, free: 6.445 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.0002093/0.6278, allocations: 197.5 kB / 0.8809 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.375e-05/0.6279, allocations: 58.97 kB / 0.8809 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.629, allocations: 0.5245 MB / 0.8814 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.629, allocations: 4.875 kB / 0.8814 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.629, allocations: 4 kB / 0.8814 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.629, allocations: 0 / 0.8814 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.6311, allocations: 1.351 MB / 0.8828 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.6311, allocations: 11.22 kB / 0.8828 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.6315, allocations: 72.61 kB / 0.8828 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.6315, allocations: 4.812 kB / 0.8828 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.6316, allocations: 15.3 kB / 0.8829 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.6316, allocations: 9.281 kB / 0.8829 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.6316, allocations: 2.562 kB / 0.8829 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.6331, allocations: 0.941 MB / 0.8838 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.6334, allocations: 175 kB / 0.884 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.01e-05/0.6335, allocations: 11.53 kB / 0.884 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.6339, allocations: 37.27 kB / 0.884 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.634, allocations: 56.38 kB / 0.8841 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.634, allocations: 20.27 kB / 0.8841 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003664/0.6344, allocations: 341.8 kB / 0.8844 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6344, allocations: 0 / 0.8844 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005489/0.635, allocations: 150.4 kB / 0.8845 GB, free: 3.859 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.002101/0.6371, allocations: 1.582 MB / 0.8861 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.6383, allocations: 0.5848 MB / 0.8867 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6383, allocations: 0.75 kB / 0.8867 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006113/0.6389, allocations: 291.7 kB / 0.8869 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.6402, allocations: 297.4 kB / 0.8872 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/0.6474, allocations: 5.108 MB / 0.8922 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.6478, allocations: 0.8665 MB / 0.8931 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005035/0.6483, allocations: 120.7 kB / 0.8932 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/0.6486, allocations: 175.4 kB / 0.8933 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of SimCode: time 8.51e-07/0.6486, allocations: 0 / 0.8933 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.6846, allocations: 15.73 MB / 0.9087 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.313/7.998, allocations: 6.859 kB / 0.9087 GB, free: 12.7 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)