Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0007512/0.0007512, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007817/0.0007817, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9481/0.9481, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002951, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1644, allocations: 83.42 MB / 0.5975 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.4886/0.653, allocations: 165.4 MB / 0.759 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005393/0.6584, allocations: 4.195 MB / 0.7631 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.6589, allocations: 15.88 kB / 0.7631 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005377/0.6594, allocations: 174.7 kB / 0.7633 GB, free: 2.301 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.6608, allocations: 0.5829 MB / 0.7639 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002651/0.6634, allocations: 1.046 MB / 0.7649 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001555/0.665, allocations: 1.437 MB / 0.7663 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000495/0.6655, allocations: 344.1 kB / 0.7666 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009056/0.6664, allocations: 0.5175 MB / 0.7671 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.6669, allocations: 390.4 kB / 0.7675 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.6669, allocations: 24 kB / 0.7675 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.6686, allocations: 0.7832 MB / 0.7683 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.6688, allocations: 167.5 kB / 0.7685 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.6689, allocations: 133.4 kB / 0.7686 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.6698, allocations: 0.7834 MB / 0.7693 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.6698, allocations: 4 kB / 0.7693 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6698, allocations: 0 / 0.7693 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.6698, allocations: 0 / 0.7693 GB, free: 12.09 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.001466/0.6713, allocations: 0.9279 MB / 0.7703 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.6713, allocations: 19.95 kB / 0.7703 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.017e-05/0.6714, allocations: 78.47 kB / 0.7703 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/0.6733, allocations: 287 kB / 0.7706 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006485/0.6739, allocations: 429.8 kB / 0.771 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.674, allocations: 40.95 kB / 0.7711 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.451e-05/0.6741, allocations: 43.98 kB / 0.7711 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.675, allocations: 0.5585 MB / 0.7717 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.675, allocations: 3.938 kB / 0.7717 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.6751, allocations: 16 kB / 0.7717 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.6751, allocations: 12 kB / 0.7717 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/0.6761, allocations: 491.5 kB / 0.7722 GB, free: 9.066 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.002451/0.6786, allocations: 2.132 MB / 0.7742 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000984/0.6796, allocations: 427.7 kB / 0.7746 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.68, allocations: 244.7 kB / 0.7749 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006286/0.6807, allocations: 412.3 kB / 0.7753 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.6813, allocations: 313.5 kB / 0.7756 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.6813, allocations: 0 / 0.7756 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001705/0.683, allocations: 0.7333 MB / 0.7763 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.6831, allocations: 55.41 kB / 0.7763 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000527/0.6836, allocations: 494.1 kB / 0.7768 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.837e-05/0.6837, allocations: 33.7 kB / 0.7768 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.6838, allocations: 264 kB / 0.7771 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.684, allocations: 118.3 kB / 0.7772 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.684, allocations: 19.88 kB / 0.7772 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6841, allocations: 366.8 kB / 0.7776 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/0.6846, allocations: 212.8 kB / 0.7778 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.6851, allocations: 328.1 kB / 0.7781 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000509/0.6856, allocations: 291.2 kB / 0.7784 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6857, allocations: 3.953 kB / 0.7784 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001165/0.6868, allocations: 0.6836 MB / 0.779 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.6869, allocations: 59.39 kB / 0.7791 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.6869, allocations: 4.5 kB / 0.7791 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.6869, allocations: 8 kB / 0.7791 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004247/0.6874, allocations: 103.8 kB / 0.7792 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.6874, allocations: 6.125 kB / 0.7792 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.6879, allocations: 96.02 kB / 0.7793 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.6879, allocations: 23.98 kB / 0.7793 GB, free: 1.375 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 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.6882, allocations: 197.6 kB / 0.7795 GB, free: 1.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.6882, allocations: 55.3 kB / 0.7796 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.6894, allocations: 0.568 MB / 0.7801 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.6894, allocations: 8 kB / 0.7801 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6894, allocations: 0 / 0.7801 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6894, allocations: 0 / 0.7801 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.6915, allocations: 1.375 MB / 0.7815 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.6915, allocations: 4 kB / 0.7815 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003806/0.6919, allocations: 83.89 kB / 0.7816 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6919, allocations: 4 kB / 0.7816 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.692, allocations: 19.94 kB / 0.7816 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.692, allocations: 8.188 kB / 0.7816 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.692, allocations: 8 kB / 0.7816 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.6936, allocations: 0.9774 MB / 0.7826 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.6937, allocations: 173.1 kB / 0.7827 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.6938, allocations: 16 kB / 0.7827 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004248/0.6943, allocations: 55.89 kB / 0.7828 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.6944, allocations: 55.92 kB / 0.7828 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.6944, allocations: 12 kB / 0.7829 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003651/0.6948, allocations: 342.8 kB / 0.7832 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.683e-06/0.6948, allocations: 0 / 0.7832 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005255/0.6953, allocations: 159.8 kB / 0.7833 GB, free: 13.08 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002189/0.6975, allocations: 1.624 MB / 0.7849 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.6986, allocations: 0.605 MB / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6986, allocations: 0 / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000636/0.6993, allocations: 310.2 kB / 0.7858 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.7006, allocations: 270.8 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.7056, allocations: 3.385 MB / 0.7894 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.706, allocations: 0.8707 MB / 0.7902 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004712/0.7065, allocations: 126.9 kB / 0.7903 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.7067, allocations: 171.4 kB / 0.7905 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.7067, allocations: 3.938 kB / 0.7905 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.7352, allocations: 14.85 MB / 0.805 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.7354, allocations: 235.7 kB / 0.8052 GB, free: 6.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.772, allocations: 3.938 kB / 0.8052 GB, free: 6.781 MB / 0.6231 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) Environment - environmentSimulation: