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.001568/0.001568, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001781/0.001781, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 64.14 kB / 0.5572 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1694, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5208/0.6903, allocations: 161.5 MB / 0.7893 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004533/0.6949, allocations: 3.496 MB / 0.7927 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.6954, allocations: 10.81 kB / 0.7927 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.6959, allocations: 135.8 kB / 0.7928 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.6972, allocations: 447.5 kB / 0.7933 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.6989, allocations: 0.599 MB / 0.7939 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007661/0.6996, allocations: 0.6192 MB / 0.7945 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003767/0.7, allocations: 235.7 kB / 0.7947 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.7013, allocations: 347.8 kB / 0.795 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.7015, allocations: 196.4 kB / 0.7952 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.837e-05/0.7016, allocations: 23.38 kB / 0.7952 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.7026, allocations: 0.5519 MB / 0.7958 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.7027, allocations: 95.08 kB / 0.7959 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.7029, allocations: 144 kB / 0.796 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008414/0.7038, allocations: 0.554 MB / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7038, allocations: 0 / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/0.7038, allocations: 0 / 0.7965 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.7038, allocations: 3.5 kB / 0.7965 GB, free: 12.43 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.001047/0.7048, allocations: 0.6278 MB / 0.7971 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7049, allocations: 11.83 kB / 0.7972 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.034e-05/0.705, allocations: 52.94 kB / 0.7972 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005062/0.7055, allocations: 82.77 kB / 0.7973 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.7059, allocations: 312.4 kB / 0.7976 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.7059, allocations: 15.25 kB / 0.7976 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.7059, allocations: 20 kB / 0.7976 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.7065, allocations: 313.9 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7065, allocations: 0 / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.7066, allocations: 10.64 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.7066, allocations: 9.438 kB / 0.7979 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.7071, allocations: 247.9 kB / 0.7982 GB, free: 11.56 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.001531/0.7087, allocations: 1.24 MB / 0.7994 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.7091, allocations: 171.5 kB / 0.7995 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.7094, allocations: 127.4 kB / 0.7997 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.7099, allocations: 304.5 kB / 0.8 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.71, allocations: 44.83 kB / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.71, allocations: 0 / 0.8 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.002105/0.7121, allocations: 0.5655 MB / 0.8006 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.7121, allocations: 55.97 kB / 0.8006 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.7124, allocations: 260.9 kB / 0.8009 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.7124, allocations: 29.23 kB / 0.8009 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.7125, allocations: 174.1 kB / 0.8011 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.7126, allocations: 46.2 kB / 0.8011 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.7127, allocations: 36.34 kB / 0.8011 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7128, allocations: 334.8 kB / 0.8014 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.713, allocations: 93.19 kB / 0.8015 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.7133, allocations: 143.1 kB / 0.8017 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.7138, allocations: 240.1 kB / 0.8019 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7138, allocations: 1.906 kB / 0.8019 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.7149, allocations: 345.8 kB / 0.8022 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.715, allocations: 11.88 kB / 0.8022 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.715, allocations: 0 / 0.8022 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/0.7156, allocations: 87.84 kB / 0.8023 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.7158, allocations: 44.23 kB / 0.8024 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.7181, allocations: 1.723 MB / 0.8041 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.7183, allocations: 31.91 kB / 0.8041 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.7184, allocations: 12.27 kB / 0.8041 GB, free: 7.895 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.0001687/0.7186, allocations: 145.8 kB / 0.8042 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-05/0.7186, allocations: 31.91 kB / 0.8043 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.7197, allocations: 374.1 kB / 0.8046 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.7198, allocations: 2.906 kB / 0.8046 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7198, allocations: 4 kB / 0.8046 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7198, allocations: 0 / 0.8046 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7214, allocations: 0.7752 MB / 0.8054 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7214, allocations: 3.188 kB / 0.8054 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.7216, allocations: 33.12 kB / 0.8054 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004546/0.7221, allocations: 80.7 kB / 0.8055 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.7221, allocations: 6.656 kB / 0.8055 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.724, allocations: 1.742 MB / 0.8072 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.724, allocations: 2.5 kB / 0.8072 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.7251, allocations: 446.6 kB / 0.8076 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.7253, allocations: 128 kB / 0.8078 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.7253, allocations: 5.906 kB / 0.8078 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.7256, allocations: 27.72 kB / 0.8078 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.7257, allocations: 18.59 kB / 0.8078 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.7257, allocations: 5.281 kB / 0.8078 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001679/0.7259, allocations: 187.9 kB / 0.808 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7259, allocations: 0 / 0.808 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004828/0.7264, allocations: 84.88 kB / 0.8081 GB, free: 5.121 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.001693/0.7281, allocations: 1.057 MB / 0.8091 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009999/0.7291, allocations: 364.5 kB / 0.8095 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7291, allocations: 0 / 0.8095 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005674/0.7297, allocations: 258.2 kB / 0.8097 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007699/0.7305, allocations: 121.9 kB / 0.8098 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/0.7353, allocations: 2.81 MB / 0.8126 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.7357, allocations: 0.7747 MB / 0.8133 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002225/0.736, allocations: 61.08 kB / 0.8134 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.7361, allocations: 76.06 kB / 0.8134 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.7361, allocations: 0 / 0.8134 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.7688, allocations: 8.826 MB / 0.8221 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.08, allocations: 13.27 kB / 0.8221 GB, free: 12.94 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)