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.00141/0.001411, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001557/0.001557, allocations: 177.3 kB / 15.94 MB, free: 228 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.458/1.458, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.065/1.065, allocations: 143.3 MB / 434.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 12 kB / 0.5159 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2104, allocations: 83.42 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5961/0.8065, allocations: 151.4 MB / 0.7452 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007557/0.8141, allocations: 4.12 MB / 0.7493 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009938/0.8152, allocations: 19.88 kB / 0.7493 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.8167, allocations: 282.9 kB / 0.7496 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.8191, allocations: 0.5777 MB / 0.7501 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.8227, allocations: 0.9684 MB / 0.7511 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001548/0.8243, allocations: 0.7487 MB / 0.7518 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.8251, allocations: 360.5 kB / 0.7521 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.827, allocations: 0.6514 MB / 0.7528 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006136/0.8276, allocations: 294.7 kB / 0.7531 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.8277, allocations: 24 kB / 0.7531 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001888/0.8296, allocations: 0.5925 MB / 0.7537 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.8299, allocations: 162.8 kB / 0.7538 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.8301, allocations: 129.4 kB / 0.7539 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.8314, allocations: 0.6581 MB / 0.7546 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8315, allocations: 4 kB / 0.7546 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8315, allocations: 0 / 0.7546 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.502e-05/0.8315, allocations: 0 / 0.7546 GB, free: 10.98 MB / 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.001919/0.8334, allocations: 0.8967 MB / 0.7555 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.8335, allocations: 8.031 kB / 0.7555 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.8336, allocations: 82.53 kB / 0.7556 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/0.8358, allocations: 287 kB / 0.7558 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.8367, allocations: 425.8 kB / 0.7562 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.8368, allocations: 44.94 kB / 0.7563 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.8369, allocations: 44 kB / 0.7563 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.838, allocations: 0.5585 MB / 0.7569 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.8381, allocations: 4 kB / 0.7569 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.8381, allocations: 16 kB / 0.7569 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.8382, allocations: 8 kB / 0.7569 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.8393, allocations: 491.5 kB / 0.7574 GB, free: 8.004 MB / 0.5762 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.002737/0.842, allocations: 2.131 MB / 0.7594 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.8435, allocations: 443.1 kB / 0.7599 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004268/0.844, allocations: 145 kB / 0.76 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.8446, allocations: 335.2 kB / 0.7603 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 3.857e-06/0.8446, allocations: 0 / 0.7603 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001894/0.8465, allocations: 0.7454 MB / 0.761 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.8466, allocations: 85.11 kB / 0.7611 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.8472, allocations: 482.1 kB / 0.7616 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.094e-05/0.8473, allocations: 37.7 kB / 0.7616 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.8475, allocations: 256.1 kB / 0.7619 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.8476, allocations: 134.2 kB / 0.762 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.8476, allocations: 4 kB / 0.762 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.8478, allocations: 366.8 kB / 0.7623 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000486/0.8483, allocations: 208.8 kB / 0.7625 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.8489, allocations: 345.2 kB / 0.7629 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.8494, allocations: 284.3 kB / 0.7631 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8494, allocations: 0 / 0.7631 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001278/0.8507, allocations: 0.688 MB / 0.7638 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.8508, allocations: 63.41 kB / 0.7639 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.8508, allocations: 4 kB / 0.7639 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8508, allocations: 4 kB / 0.7639 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.8514, allocations: 108.6 kB / 0.764 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.8514, allocations: 8 kB / 0.764 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.852, allocations: 99.31 kB / 0.7641 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.8521, allocations: 20 kB / 0.7641 GB, free: 0.7812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0002391/0.8523, allocations: 193.7 kB / 0.7643 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.8524, allocations: 55.3 kB / 0.7644 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.8535, allocations: 0.5282 MB / 0.7649 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.8535, allocations: 4 kB / 0.7649 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.8535, allocations: 0.5 kB / 0.7649 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8536, allocations: 0 / 0.7649 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.8559, allocations: 1.477 MB / 0.7663 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.8559, allocations: 4.562 kB / 0.7663 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.8564, allocations: 84.45 kB / 0.7664 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.8564, allocations: 11.95 kB / 0.7664 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.8564, allocations: 19.98 kB / 0.7664 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.8564, allocations: 8.75 kB / 0.7664 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.8564, allocations: 8 kB / 0.7664 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.8584, allocations: 1.235 MB / 0.7677 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002409/0.8586, allocations: 176.3 kB / 0.7678 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.8587, allocations: 24 kB / 0.7678 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/0.8592, allocations: 47.95 kB / 0.7679 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.8594, allocations: 61.39 kB / 0.7679 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.8594, allocations: 19.98 kB / 0.768 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005389/0.86, allocations: 338.8 kB / 0.7683 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.11e-07/0.86, allocations: 0 / 0.7683 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000645/0.8606, allocations: 147.8 kB / 0.7684 GB, free: 12.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.003066/0.8637, allocations: 3.188 MB / 0.7715 GB, free: 8.695 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00133/0.8651, allocations: 0.616 MB / 0.7721 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.8651, allocations: 0 / 0.7721 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007352/0.8658, allocations: 326.2 kB / 0.7725 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.8672, allocations: 261.4 kB / 0.7727 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006698/0.8739, allocations: 5.361 MB / 0.7779 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.8744, allocations: 0.8824 MB / 0.7788 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005494/0.875, allocations: 129 kB / 0.7789 GB, free: 0.9375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.8753, allocations: 171.4 kB / 0.7791 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/0.8753, allocations: 3.938 kB / 0.7791 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.9054, allocations: 14.82 MB / 0.7936 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/0.9057, allocations: 233.8 kB / 0.7938 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.052/2.957, allocations: 0 / 0.7938 GB, free: 2.047 MB / 0.6075 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: