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.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.005273/0.005273, allocations: 102.7 kB / 15.74 MB, free: 6.047 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.001312/0.001312, allocations: 188.4 kB / 16.67 MB, free: 5.969 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.417/1.417, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.048/1.048, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.371, allocations: 82.03 MB / 0.6754 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2044/0.5754, allocations: 181.9 MB / 0.853 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006511/0.582, allocations: 4.473 MB / 0.8574 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.5825, allocations: 19.88 kB / 0.8574 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.5833, allocations: 246.1 kB / 0.8576 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.5851, allocations: 0.758 MB / 0.8584 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5887, allocations: 1.518 MB / 0.8599 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.5904, allocations: 1.25 MB / 0.8611 GB, free: 7.383 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006715/0.591, allocations: 448.9 kB / 0.8615 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.5921, allocations: 0.5837 MB / 0.8621 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.5926, allocations: 398.4 kB / 0.8625 GB, free: 5.961 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.5927, allocations: 48 kB / 0.8625 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.5955, allocations: 1.547 MB / 0.864 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.5958, allocations: 191.4 kB / 0.8642 GB, free: 4.176 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.5962, allocations: 302.5 kB / 0.8645 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002328/0.5985, allocations: 1.345 MB / 0.8658 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5985, allocations: 0 / 0.8658 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5985, allocations: 0 / 0.8658 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.5985, allocations: 4 kB / 0.8658 GB, free: 2.527 MB / 0.6856 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.001889/0.6004, allocations: 1.033 MB / 0.8668 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6005, allocations: 12.03 kB / 0.8668 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.704e-05/0.6006, allocations: 74.53 kB / 0.8669 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.6026, allocations: 287.3 kB / 0.8672 GB, free: 1.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00082/0.6035, allocations: 489.7 kB / 0.8676 GB, free: 0.5391 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.353e-05/0.6035, allocations: 29 kB / 0.8677 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.403e-05/0.6036, allocations: 44 kB / 0.8677 GB, free: 480 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2832/0.8869, allocations: 0.5441 MB / 0.8682 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8869, allocations: 2.438 kB / 0.8682 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.929e-05/0.887, allocations: 20.88 kB / 0.8683 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.887, allocations: 10.41 kB / 0.8683 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.8882, allocations: 459.7 kB / 0.8687 GB, free: 189.1 MB / 0.6856 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.002486/0.8907, allocations: 2.123 MB / 0.8708 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.8917, allocations: 404.8 kB / 0.8712 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.8923, allocations: 222.6 kB / 0.8714 GB, free: 187.4 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.8929, allocations: 403 kB / 0.8718 GB, free: 187 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006486/0.8935, allocations: 296.5 kB / 0.8721 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=37): time 2.585e-06/0.8935, allocations: 0 / 0.8721 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=37): time 0.001917/0.8955, allocations: 0.6853 MB / 0.8727 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8955, allocations: 64.72 kB / 0.8728 GB, free: 186.6 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.8961, allocations: 490.3 kB / 0.8732 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.8962, allocations: 40.48 kB / 0.8733 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.8963, allocations: 261.6 kB / 0.8735 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.8964, allocations: 134.6 kB / 0.8737 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.8966, allocations: 90.16 kB / 0.8738 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.8967, allocations: 372 kB / 0.8741 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.8972, allocations: 205.7 kB / 0.8743 GB, free: 185.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.8978, allocations: 317.6 kB / 0.8746 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.8989, allocations: 0.5374 MB / 0.8751 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.8989, allocations: 1.031 kB / 0.8751 GB, free: 185.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001592/0.9005, allocations: 0.6534 MB / 0.8758 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.9006, allocations: 62.3 kB / 0.8758 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9006, allocations: 2.938 kB / 0.8758 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.594e-05/0.9006, allocations: 4.781 kB / 0.8758 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.9011, allocations: 99.09 kB / 0.8759 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.9011, allocations: 5.266 kB / 0.8759 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/0.9017, allocations: 85.73 kB / 0.876 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-05/0.9018, allocations: 24.78 kB / 0.876 GB, free: 184.8 MB / 0.6856 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.0002378/0.902, allocations: 189 kB / 0.8762 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.9021, allocations: 57.12 kB / 0.8763 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.9034, allocations: 0.5381 MB / 0.8768 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.9034, allocations: 3.562 kB / 0.8768 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9034, allocations: 2.938 kB / 0.8768 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.9035, allocations: 6.5 kB / 0.8768 GB, free: 184.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.9057, allocations: 1.355 MB / 0.8781 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.9057, allocations: 6.031 kB / 0.8781 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004198/0.9061, allocations: 76.2 kB / 0.8782 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.9061, allocations: 5.25 kB / 0.8782 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.9062, allocations: 15.28 kB / 0.8782 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.9062, allocations: 8.547 kB / 0.8782 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.9062, allocations: 4.594 kB / 0.8782 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.908, allocations: 0.9362 MB / 0.8792 GB, free: 183.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.9082, allocations: 170.1 kB / 0.8793 GB, free: 183.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.468e-05/0.9083, allocations: 23.95 kB / 0.8793 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004411/0.9088, allocations: 32.47 kB / 0.8794 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.9089, allocations: 53.03 kB / 0.8794 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.9089, allocations: 11.88 kB / 0.8794 GB, free: 183 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000444/0.9094, allocations: 347.8 kB / 0.8798 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9094, allocations: 0 / 0.8798 GB, free: 182.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006569/0.9101, allocations: 151.1 kB / 0.8799 GB, free: 182.8 MB / 0.6856 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.002204/0.9123, allocations: 1.593 MB / 0.8815 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.9134, allocations: 0.5778 MB / 0.882 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.9134, allocations: 5.281 kB / 0.882 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006259/0.9141, allocations: 290.9 kB / 0.8823 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.9154, allocations: 287.4 kB / 0.8826 GB, free: 181 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006701/0.9221, allocations: 5.005 MB / 0.8875 GB, free: 177.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.9224, allocations: 0.8688 MB / 0.8883 GB, free: 176.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004644/0.9229, allocations: 124.1 kB / 0.8884 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002438/0.9231, allocations: 172.5 kB / 0.8886 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of SimCode: time 7.22e-07/0.9232, allocations: 0 / 0.8886 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03895/0.9621, allocations: 15.91 MB / 0.9041 GB, free: 165.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.653/9.615, allocations: 10.33 kB / 0.9042 GB, free: 165.1 MB / 0.6856 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)