Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",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.00162/0.00162, 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.001707/0.001707, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9462/0.9462, allocations: 143 MB / 433.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 63.89 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1691, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4523/0.6215, allocations: 161.5 MB / 0.7521 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005965/0.6275, allocations: 3.499 MB / 0.7555 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005607/0.6281, allocations: 7.938 kB / 0.7555 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.6287, allocations: 135 kB / 0.7557 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.6305, allocations: 453.9 kB / 0.7561 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6325, allocations: 0.5912 MB / 0.7567 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009201/0.6334, allocations: 0.6284 MB / 0.7573 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004837/0.6339, allocations: 232.6 kB / 0.7575 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.6353, allocations: 341.4 kB / 0.7578 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003735/0.6357, allocations: 191.2 kB / 0.758 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.683e-05/0.6358, allocations: 24 kB / 0.758 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.637, allocations: 0.5495 MB / 0.7586 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.6371, allocations: 95.72 kB / 0.7587 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.6373, allocations: 147.2 kB / 0.7588 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001266/0.6386, allocations: 0.5532 MB / 0.7593 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6386, allocations: 0 / 0.7593 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.552e-06/0.6386, allocations: 4 kB / 0.7593 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.6387, allocations: 0 / 0.7593 GB, free: 4.32 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001533/0.6402, allocations: 0.6311 MB / 0.76 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/0.6403, allocations: 12.03 kB / 0.76 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.6404, allocations: 50.55 kB / 0.76 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006966/0.6411, allocations: 76.2 kB / 0.7601 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005172/0.6416, allocations: 291.5 kB / 0.7604 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.6417, allocations: 16.44 kB / 0.7604 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.6417, allocations: 20 kB / 0.7604 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.6425, allocations: 316.1 kB / 0.7607 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.6425, allocations: 0 / 0.7607 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.6425, allocations: 8 kB / 0.7607 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.6425, allocations: 19.06 kB / 0.7607 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006813/0.6432, allocations: 244.9 kB / 0.761 GB, free: 2.555 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.001847/0.6451, allocations: 1.253 MB / 0.7622 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.6456, allocations: 178.5 kB / 0.7624 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.6459, allocations: 120.8 kB / 0.7625 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006316/0.6465, allocations: 307.2 kB / 0.7628 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.6466, allocations: 34.55 kB / 0.7628 GB, free: 500 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.6466, allocations: 4 kB / 0.7628 GB, free: 496 kB / 0.5762 GB Notification: Performance of matching and sorting (n=14): time 0.002396/0.649, allocations: 0.5692 MB / 0.7634 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.6491, allocations: 59.41 kB / 0.7634 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.6493, allocations: 250.7 kB / 0.7637 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.6494, allocations: 29.7 kB / 0.7637 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.6495, allocations: 164.2 kB / 0.7638 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/0.6495, allocations: 47.3 kB / 0.7639 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.144e-05/0.6496, allocations: 41.61 kB / 0.7639 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6498, allocations: 338.8 kB / 0.7642 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.6501, allocations: 91.92 kB / 0.7643 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.6504, allocations: 141.6 kB / 0.7645 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.651, allocations: 232.1 kB / 0.7647 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6511, allocations: 0 / 0.7647 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001207/0.6523, allocations: 359.5 kB / 0.765 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6523, allocations: 8 kB / 0.765 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6523, allocations: 0 / 0.765 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.6529, allocations: 88.89 kB / 0.7651 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.6532, allocations: 47.83 kB / 0.7652 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/0.6555, allocations: 1.721 MB / 0.7669 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.6558, allocations: 39.81 kB / 0.7669 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.6558, allocations: 5.438 kB / 0.7669 GB, free: 12.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001728/0.656, allocations: 149.7 kB / 0.767 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.6561, allocations: 23.72 kB / 0.7671 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.6573, allocations: 364 kB / 0.7674 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.6573, allocations: 4 kB / 0.7674 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.6573, allocations: 0 / 0.7674 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.6573, allocations: 0 / 0.7674 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.659, allocations: 0.7706 MB / 0.7682 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.6591, allocations: 8.906 kB / 0.7682 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.6593, allocations: 31.97 kB / 0.7682 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.6597, allocations: 84.66 kB / 0.7683 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.6598, allocations: 7.938 kB / 0.7683 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002017/0.6618, allocations: 1.743 MB / 0.77 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6618, allocations: 0 / 0.77 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.663, allocations: 452.2 kB / 0.7704 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6631, allocations: 128.7 kB / 0.7705 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.6632, allocations: 0 / 0.7705 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.6634, allocations: 27.91 kB / 0.7706 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.6635, allocations: 15.98 kB / 0.7706 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.6635, allocations: 8 kB / 0.7706 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001775/0.6637, allocations: 182 kB / 0.7708 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6637, allocations: 3.938 kB / 0.7708 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004751/0.6642, allocations: 95.83 kB / 0.7709 GB, free: 7.703 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001722/0.6659, allocations: 1.032 MB / 0.7719 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.667, allocations: 378.2 kB / 0.7722 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.667, allocations: 0 / 0.7722 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.6676, allocations: 259.6 kB / 0.7725 GB, free: 6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.6684, allocations: 127.6 kB / 0.7726 GB, free: 5.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.6734, allocations: 2.803 MB / 0.7753 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.6738, allocations: 0.7712 MB / 0.7761 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002365/0.6741, allocations: 54.27 kB / 0.7761 GB, free: 2.117 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.6742, allocations: 75.41 kB / 0.7762 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.6742, allocations: 0 / 0.7762 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.7092, allocations: 8.624 MB / 0.7846 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.79, allocations: 5.969 kB / 0.7846 GB, free: 9.637 MB / 0.6075 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)