Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.674/2.674, allocations: 287.3 MB / 302.3 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 183.1 kB / 370.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.228/2.228, allocations: 205.4 MB / 0.6295 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001198/0.001197, allocations: 85.89 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006731/0.000673, allocations: 17.69 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.685/6.901, allocations: 2.08 GB / 3.058 GB, free: 173.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/6.902, allocations: 93.94 kB / 3.058 GB, free: 173.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.252/9.153, allocations: 483.7 MB / 3.531 GB, free: 70.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.505e-06/9.153, allocations: 0 / 3.531 GB, free: 70.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.878e-05/9.154, allocations: 24 kB / 3.531 GB, free: 70.85 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003311/9.157, allocations: 1.141 MB / 3.532 GB, free: 69.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/9.157, allocations: 8.031 kB / 3.532 GB, free: 69.65 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002938/9.157, allocations: 94.52 kB / 3.532 GB, free: 69.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/9.16, allocations: 274.7 kB / 3.532 GB, free: 69.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/9.162, allocations: 0.5991 MB / 3.533 GB, free: 68.64 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.993e-05/9.162, allocations: 45.31 kB / 3.533 GB, free: 68.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/9.162, allocations: 56 kB / 3.533 GB, free: 68.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/9.164, allocations: 0.6054 MB / 3.533 GB, free: 67.92 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/9.164, allocations: 4 kB / 3.533 GB, free: 67.92 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/9.164, allocations: 23.95 kB / 3.533 GB, free: 67.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.886e-05/9.164, allocations: 25.23 kB / 3.533 GB, free: 67.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/9.166, allocations: 0.5009 MB / 3.534 GB, free: 67.37 MB / 0.948 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.004354/9.17, allocations: 2.424 MB / 3.536 GB, free: 64.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009012/9.171, allocations: 371.9 kB / 3.537 GB, free: 64.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/9.172, allocations: 299.6 kB / 3.537 GB, free: 64.01 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/9.172, allocations: 50.78 kB / 3.537 GB, free: 63.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.407e-06/9.172, allocations: 0 / 3.537 GB, free: 63.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.002158/9.174, allocations: 0.6063 MB / 3.538 GB, free: 63.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/9.174, allocations: 55.41 kB / 3.538 GB, free: 63.28 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/9.175, allocations: 434.1 kB / 3.538 GB, free: 62.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.079e-05/9.175, allocations: 37.7 kB / 3.538 GB, free: 62.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/9.175, allocations: 324.4 kB / 3.538 GB, free: 62.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/9.175, allocations: 137.9 kB / 3.538 GB, free: 62.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/9.175, allocations: 16 kB / 3.539 GB, free: 62.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001091/9.175, allocations: 366.8 kB / 3.539 GB, free: 61.96 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/9.176, allocations: 160.8 kB / 3.539 GB, free: 61.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/9.176, allocations: 293.9 kB / 3.539 GB, free: 61.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006178/9.177, allocations: 212.8 kB / 3.539 GB, free: 61.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/9.177, allocations: 0 / 3.539 GB, free: 61.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001407/9.179, allocations: 0.5239 MB / 3.54 GB, free: 60.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/9.179, allocations: 0.8693 MB / 3.541 GB, free: 59.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/9.179, allocations: 4 kB / 3.541 GB, free: 59.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/9.179, allocations: 8 kB / 3.541 GB, free: 59.78 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/9.18, allocations: 115.8 kB / 3.541 GB, free: 59.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004231/9.18, allocations: 0.5938 MB / 3.542 GB, free: 59.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/9.182, allocations: 87.56 kB / 3.542 GB, free: 58.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.942e-05/9.182, allocations: 20 kB / 3.542 GB, free: 58.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/9.182, allocations: 4 kB / 3.542 GB, free: 58.94 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/9.183, allocations: 443.9 kB / 3.542 GB, free: 58.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/9.183, allocations: 4.281 kB / 3.542 GB, free: 58.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/9.183, allocations: 8 kB / 3.542 GB, free: 58.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007571/9.184, allocations: 107.8 kB / 3.542 GB, free: 58.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/9.184, allocations: 7.984 kB / 3.542 GB, free: 58.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/9.185, allocations: 71.55 kB / 3.542 GB, free: 58.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/9.185, allocations: 20 kB / 3.542 GB, free: 58.29 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005636/9.186, allocations: 316.8 kB / 3.543 GB, free: 57.97 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/9.186, allocations: 55.34 kB / 3.543 GB, free: 57.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/9.187, allocations: 479 kB / 3.543 GB, free: 57.44 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/9.187, allocations: 4 kB / 3.543 GB, free: 57.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/9.187, allocations: 3.938 kB / 3.543 GB, free: 57.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/9.188, allocations: 0.7104 MB / 3.544 GB, free: 56.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/9.191, allocations: 1.266 MB / 3.545 GB, free: 55.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/9.192, allocations: 4 kB / 3.545 GB, free: 55.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/9.193, allocations: 120 kB / 3.545 GB, free: 55.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/9.193, allocations: 7.953 kB / 3.545 GB, free: 55.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/9.193, allocations: 15.98 kB / 3.545 GB, free: 55.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003132/9.193, allocations: 0.586 MB / 3.546 GB, free: 54.54 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/9.193, allocations: 4 kB / 3.546 GB, free: 54.53 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/9.195, allocations: 0.9077 MB / 3.547 GB, free: 53.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/9.195, allocations: 180.4 kB / 3.547 GB, free: 53.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/9.196, allocations: 12 kB / 3.547 GB, free: 53.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008949/9.196, allocations: 55.8 kB / 3.547 GB, free: 53.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/9.197, allocations: 31.92 kB / 3.547 GB, free: 53.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/9.197, allocations: 15.92 kB / 3.547 GB, free: 53.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006568/9.197, allocations: 346.8 kB / 3.547 GB, free: 52.89 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/9.197, allocations: 4 kB / 3.547 GB, free: 52.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002012/9.199, allocations: 491.2 kB / 3.548 GB, free: 52.41 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004757/9.204, allocations: 3.18 MB / 3.551 GB, free: 49.12 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003287/9.208, allocations: 0.6614 MB / 3.551 GB, free: 48.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/9.208, allocations: 3.938 kB / 3.551 GB, free: 48.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009522/9.209, allocations: 219.7 kB / 3.552 GB, free: 48.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/9.213, allocations: 354.8 kB / 3.552 GB, free: 47.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/9.226, allocations: 5.136 MB / 3.557 GB, free: 42.65 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/9.226, allocations: 0.9577 MB / 3.558 GB, free: 41.67 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001772/9.228, allocations: 204.9 kB / 3.558 GB, free: 41.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007409/9.229, allocations: 231.3 kB / 3.558 GB, free: 41.24 MB / 0.948 GB Notification: Performance of SimCode: time 2.394e-06/9.229, allocations: 0 / 3.558 GB, free: 41.24 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/9.33, allocations: 38.12 MB / 3.596 GB, free: 3.367 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/9.33, allocations: 243.2 kB / 3.596 GB, free: 3.121 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.147/13.48, allocations: 0 / 3.596 GB, free: 3.121 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)