Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IBPSA_latest_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.001597/0.001597, allocations: 104.7 kB / 16.4 MB, free: 6.016 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.001888/0.001888, allocations: 195.4 kB / 17.34 MB, free: 5.605 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7232/0.7232, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 73.48 kB / 0.568 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1351, allocations: 77.93 MB / 0.6441 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4904/0.6255, allocations: 161.5 MB / 0.8018 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003835/0.6294, allocations: 3.49 MB / 0.8052 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.6297, allocations: 9.188 kB / 0.8052 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.6301, allocations: 134.9 kB / 0.8053 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.6312, allocations: 475.5 kB / 0.8058 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.6325, allocations: 0.6048 MB / 0.8064 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.6331, allocations: 0.628 MB / 0.807 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.6334, allocations: 231.1 kB / 0.8072 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.6345, allocations: 351.9 kB / 0.8075 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.6348, allocations: 194.5 kB / 0.8077 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.6348, allocations: 22.94 kB / 0.8077 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.6356, allocations: 0.5515 MB / 0.8083 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.6357, allocations: 101.3 kB / 0.8084 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.6358, allocations: 143.2 kB / 0.8085 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.6365, allocations: 0.5516 MB / 0.809 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6365, allocations: 0 / 0.809 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6365, allocations: 0 / 0.809 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.6365, allocations: 0 / 0.809 GB, free: 11.08 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009785/0.6375, allocations: 0.6476 MB / 0.8097 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6375, allocations: 14.44 kB / 0.8097 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.6376, allocations: 56.28 kB / 0.8097 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/0.6381, allocations: 75.53 kB / 0.8098 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.6385, allocations: 319.1 kB / 0.8101 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.6385, allocations: 11.59 kB / 0.8101 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.6385, allocations: 22 kB / 0.8102 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005736/0.6391, allocations: 315.3 kB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.6391, allocations: 2.656 kB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.6392, allocations: 6.75 kB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.158e-06/0.6392, allocations: 9.438 kB / 0.8105 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006012/0.6398, allocations: 248.8 kB / 0.8107 GB, free: 10.06 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.001449/0.6412, allocations: 1.24 MB / 0.8119 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.6416, allocations: 173.8 kB / 0.8121 GB, free: 9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.6419, allocations: 122.8 kB / 0.8122 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/0.6425, allocations: 317.9 kB / 0.8125 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.6425, allocations: 35.44 kB / 0.8125 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.6425, allocations: 0 / 0.8125 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002057/0.6446, allocations: 0.5721 MB / 0.8131 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.6446, allocations: 57.88 kB / 0.8132 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.6448, allocations: 257.5 kB / 0.8134 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.6449, allocations: 29.2 kB / 0.8134 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.444e-05/0.645, allocations: 172 kB / 0.8136 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.645, allocations: 43.45 kB / 0.8136 GB, free: 7.945 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.505e-05/0.6451, allocations: 46.59 kB / 0.8137 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6452, allocations: 331 kB / 0.814 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.6455, allocations: 94.17 kB / 0.8141 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.6458, allocations: 137.6 kB / 0.8142 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005354/0.6463, allocations: 241.8 kB / 0.8144 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6463, allocations: 0 / 0.8144 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00105/0.6474, allocations: 354.7 kB / 0.8148 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.6474, allocations: 4.812 kB / 0.8148 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6474, allocations: 4.594 kB / 0.8148 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005508/0.648, allocations: 84.73 kB / 0.8149 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.6482, allocations: 50.05 kB / 0.8149 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.6503, allocations: 1.732 MB / 0.8166 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6505, allocations: 32.03 kB / 0.8166 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/0.6506, allocations: 8.859 kB / 0.8167 GB, free: 5.699 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.00013/0.6507, allocations: 149.2 kB / 0.8168 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.6508, allocations: 21.64 kB / 0.8168 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.6518, allocations: 367.2 kB / 0.8172 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6518, allocations: 6.859 kB / 0.8172 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.6519, allocations: 0 / 0.8172 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.6519, allocations: 0 / 0.8172 GB, free: 5.422 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.6534, allocations: 0.7761 MB / 0.8179 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6534, allocations: 2.156 kB / 0.8179 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.6536, allocations: 30.56 kB / 0.818 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004056/0.654, allocations: 83.69 kB / 0.818 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.654, allocations: 6.406 kB / 0.818 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.6558, allocations: 1.756 MB / 0.8198 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.6558, allocations: 0 / 0.8198 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.6569, allocations: 453.4 kB / 0.8202 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.657, allocations: 126.2 kB / 0.8203 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.657, allocations: 5.438 kB / 0.8203 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.6573, allocations: 26.38 kB / 0.8203 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.6574, allocations: 16.89 kB / 0.8204 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.6574, allocations: 8.734 kB / 0.8204 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001513/0.6575, allocations: 192.5 kB / 0.8206 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6575, allocations: 0 / 0.8206 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003921/0.6579, allocations: 79.45 kB / 0.8206 GB, free: 2.875 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.001594/0.6595, allocations: 1.052 MB / 0.8217 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009301/0.6605, allocations: 359.7 kB / 0.822 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6605, allocations: 2.594 kB / 0.822 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.6611, allocations: 261.3 kB / 0.8223 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.6618, allocations: 131 kB / 0.8224 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.6662, allocations: 2.822 MB / 0.8251 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.6665, allocations: 0.7741 MB / 0.8259 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001776/0.6667, allocations: 53.88 kB / 0.8259 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.6668, allocations: 71.86 kB / 0.826 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.6668, allocations: 0 / 0.826 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.6947, allocations: 8.682 MB / 0.8345 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.99, allocations: 2.438 kB / 0.8345 GB, free: 10.27 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)