Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="IDEAS_dev_IDEAS_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.0008747/0.0008748, allocations: 92 kB / 15.06 MB, free: 1.098 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.001105/0.001105, allocations: 172.7 kB / 15.95 MB, free: 208 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.366/1.366, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9554/0.9554, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 12.88 kB / 0.5071 GB, free: 5.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 82.31 MB / 0.5875 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.478/0.6709, allocations: 146.6 MB / 0.7306 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004556/0.6755, allocations: 3.27 MB / 0.7338 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003403/0.6759, allocations: 10.06 kB / 0.7338 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000405/0.6763, allocations: 91.86 kB / 0.7339 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.6774, allocations: 336.1 kB / 0.7342 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.6791, allocations: 464.9 kB / 0.7347 GB, free: 448 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.6801, allocations: 0.6936 MB / 0.7354 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003689/0.6805, allocations: 185 kB / 0.7355 GB, free: 96 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007168/0.6812, allocations: 283.2 kB / 0.7358 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.6815, allocations: 184.1 kB / 0.736 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.6816, allocations: 11.28 kB / 0.736 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008365/0.6824, allocations: 322.6 kB / 0.7363 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.6825, allocations: 89.8 kB / 0.7364 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.178e-05/0.6826, allocations: 75.86 kB / 0.7365 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.6831, allocations: 352.7 kB / 0.7368 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6831, allocations: 0 / 0.7368 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6831, allocations: 0 / 0.7368 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.6831, allocations: 0 / 0.7368 GB, free: 15.65 MB / 0.5606 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.0009446/0.6841, allocations: 0.593 MB / 0.7374 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.6841, allocations: 9.562 kB / 0.7374 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.674e-05/0.6842, allocations: 55.34 kB / 0.7374 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.6847, allocations: 76.8 kB / 0.7375 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.6851, allocations: 291.2 kB / 0.7378 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.6852, allocations: 17.11 kB / 0.7378 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.6852, allocations: 17.72 kB / 0.7378 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.6859, allocations: 330.6 kB / 0.7381 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6859, allocations: 1.156 kB / 0.7381 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.6859, allocations: 10.31 kB / 0.7382 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.6859, allocations: 9.031 kB / 0.7382 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.6866, allocations: 280.4 kB / 0.7384 GB, free: 14.6 MB / 0.5606 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.001575/0.6882, allocations: 1.257 MB / 0.7397 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.6886, allocations: 191.2 kB / 0.7398 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003077/0.6889, allocations: 142.3 kB / 0.74 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005935/0.6895, allocations: 317.5 kB / 0.7403 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.6896, allocations: 33.69 kB / 0.7403 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.6896, allocations: 0 / 0.7403 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002205/0.6918, allocations: 0.6231 MB / 0.7409 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.6919, allocations: 52.88 kB / 0.741 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.6922, allocations: 255.5 kB / 0.7412 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.6922, allocations: 31.2 kB / 0.7412 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.6924, allocations: 171.4 kB / 0.7414 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.077e-05/0.6924, allocations: 48.16 kB / 0.7414 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.6924, allocations: 7.312 kB / 0.7415 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6926, allocations: 333.7 kB / 0.7418 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.6929, allocations: 112 kB / 0.7419 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.6932, allocations: 153.8 kB / 0.742 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.6935, allocations: 119.7 kB / 0.7421 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6935, allocations: 0 / 0.7421 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001036/0.6945, allocations: 384.6 kB / 0.7425 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6945, allocations: 10.38 kB / 0.7425 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.6946, allocations: 0 / 0.7425 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005445/0.6951, allocations: 92.95 kB / 0.7426 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.6953, allocations: 46.27 kB / 0.7427 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.6975, allocations: 1.611 MB / 0.7442 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.6978, allocations: 45.94 kB / 0.7443 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.6978, allocations: 5.188 kB / 0.7443 GB, free: 10.33 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001789/0.698, allocations: 146.7 kB / 0.7444 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.283e-05/0.6981, allocations: 22.69 kB / 0.7444 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.6992, allocations: 403.2 kB / 0.7448 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.6993, allocations: 2.656 kB / 0.7448 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.6993, allocations: 4 kB / 0.7448 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6993, allocations: 0 / 0.7448 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.701, allocations: 0.8063 MB / 0.7456 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.701, allocations: 0 / 0.7456 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.7012, allocations: 45.19 kB / 0.7457 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004833/0.7017, allocations: 95.5 kB / 0.7457 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.7017, allocations: 8.812 kB / 0.7458 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.7037, allocations: 1.614 MB / 0.7473 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.7037, allocations: 3.953 kB / 0.7473 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.7049, allocations: 492.9 kB / 0.7478 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.7051, allocations: 121.9 kB / 0.7479 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.7052, allocations: 11.42 kB / 0.7479 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.7055, allocations: 39.84 kB / 0.748 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.7056, allocations: 19.09 kB / 0.748 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.7056, allocations: 6.375 kB / 0.748 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002386/0.7059, allocations: 186 kB / 0.7482 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7059, allocations: 0 / 0.7482 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006723/0.7065, allocations: 84.84 kB / 0.7483 GB, free: 7.098 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/0.7084, allocations: 1.066 MB / 0.7493 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009909/0.7094, allocations: 387.2 kB / 0.7497 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7095, allocations: 4 kB / 0.7497 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/0.71, allocations: 276.8 kB / 0.7499 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.7108, allocations: 121.4 kB / 0.75 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.7142, allocations: 1.691 MB / 0.7517 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.7146, allocations: 0.7752 MB / 0.7525 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002476/0.7148, allocations: 66.25 kB / 0.7525 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.715, allocations: 75.41 kB / 0.7526 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.715, allocations: 0 / 0.7526 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.7384, allocations: 7.946 MB / 0.7604 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.7386, allocations: 248.4 kB / 0.7606 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.869, allocations: 5.75 kB / 0.7606 GB, free: 10.93 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) Environment - environmentSimulation: