Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",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.001175/0.001175, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009726/0.0009727, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.76/1.76, allocations: 292.6 MB / 0.5497 GB, free: 14.59 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005292/0.0005292, allocations: 20.25 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 116.3 MB / 0.7872 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.852/1.128, allocations: 154 MB / 0.9376 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01258/1.14, allocations: 6.484 MB / 0.9439 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/1.142, allocations: 26.84 kB / 0.9439 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001886/1.144, allocations: 421.2 kB / 0.9443 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006875/1.151, allocations: 1.293 MB / 0.9456 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005439/1.156, allocations: 1.024 MB / 0.9466 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00384/1.16, allocations: 1.119 MB / 0.9477 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/1.161, allocations: 0.4952 MB / 0.9482 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/1.163, allocations: 0.6155 MB / 0.9488 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/1.164, allocations: 387.3 kB / 0.9492 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/1.164, allocations: 29.72 kB / 0.9492 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005046/1.169, allocations: 0.8803 MB / 0.95 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000686/1.17, allocations: 224.9 kB / 0.9503 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006924/1.171, allocations: 180 kB / 0.9504 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003164/1.174, allocations: 1.005 MB / 0.9514 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.174, allocations: 0 / 0.9514 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.769e-06/1.174, allocations: 0 / 0.9514 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.882e-05/1.174, allocations: 4.281 kB / 0.9514 GB, free: 5.176 MB / 0.7169 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.003506/1.178, allocations: 0.9825 MB / 0.9524 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/1.178, allocations: 11.86 kB / 0.9524 GB, free: 20.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/1.178, allocations: 93.03 kB / 0.9525 GB, free: 20.5 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003318/1.181, allocations: 273.9 kB / 0.9527 GB, free: 20.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/1.183, allocations: 0.5587 MB / 0.9533 GB, free: 20.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/1.183, allocations: 40.66 kB / 0.9533 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/1.184, allocations: 59.56 kB / 0.9534 GB, free: 20.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/1.185, allocations: 0.6315 MB / 0.954 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/1.185, allocations: 3.234 kB / 0.954 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.382e-05/1.186, allocations: 23.66 kB / 0.954 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/1.186, allocations: 19.19 kB / 0.954 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.187, allocations: 0.5253 MB / 0.9546 GB, free: 20.09 MB / 0.7325 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.00576/1.193, allocations: 2.447 MB / 0.9569 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/1.194, allocations: 393.9 kB / 0.9573 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000691/1.195, allocations: 136.9 kB / 0.9574 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.928e-05/1.195, allocations: 40.77 kB / 0.9575 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 3.647e-06/1.195, allocations: 3.938 kB / 0.9575 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002758/1.198, allocations: 0.6273 MB / 0.9581 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/1.198, allocations: 57.92 kB / 0.9582 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.199, allocations: 0.4921 MB / 0.9586 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/1.199, allocations: 34.36 kB / 0.9587 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/1.199, allocations: 317.2 kB / 0.959 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/1.2, allocations: 137.1 kB / 0.9591 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/1.2, allocations: 10.34 kB / 0.9591 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002306/1.2, allocations: 370 kB / 0.9595 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/1.2, allocations: 166.6 kB / 0.9596 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/1.201, allocations: 287.1 kB / 0.9599 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/1.202, allocations: 220.3 kB / 0.9601 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.202, allocations: 1.438 kB / 0.9601 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001791/1.204, allocations: 0.5192 MB / 0.9606 GB, free: 17.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007368/1.204, allocations: 0.8768 MB / 0.9615 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/1.204, allocations: 2.312 kB / 0.9615 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.744e-05/1.205, allocations: 4.5 kB / 0.9615 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/1.206, allocations: 148.1 kB / 0.9616 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006667/1.207, allocations: 0.5955 MB / 0.9622 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/1.208, allocations: 80.48 kB / 0.9623 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/1.208, allocations: 24.72 kB / 0.9623 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.208, allocations: 10.78 kB / 0.9623 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/1.21, allocations: 456.2 kB / 0.9628 GB, free: 16 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.21, allocations: 6.812 kB / 0.9628 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/1.21, allocations: 4.125 kB / 0.9628 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009221/1.211, allocations: 131.5 kB / 0.9629 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.211, allocations: 4.125 kB / 0.9629 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.212, allocations: 68.91 kB / 0.963 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/1.212, allocations: 17.78 kB / 0.963 GB, free: 15.97 MB / 0.7325 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.0007932/1.213, allocations: 318.6 kB / 0.9633 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.213, allocations: 59.47 kB / 0.9633 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/1.215, allocations: 0.4894 MB / 0.9638 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/1.215, allocations: 4.125 kB / 0.9638 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/1.215, allocations: 0 / 0.9638 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/1.216, allocations: 0.7106 MB / 0.9645 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/1.22, allocations: 1.283 MB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/1.22, allocations: 1.562 kB / 0.9658 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/1.221, allocations: 139 kB / 0.9659 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/1.221, allocations: 8.312 kB / 0.9659 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/1.221, allocations: 8.656 kB / 0.9659 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005879/1.222, allocations: 0.5989 MB / 0.9665 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/1.222, allocations: 2.875 kB / 0.9665 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002283/1.224, allocations: 0.9183 MB / 0.9674 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/1.225, allocations: 192.6 kB / 0.9676 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.225, allocations: 13.83 kB / 0.9676 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009146/1.226, allocations: 46.14 kB / 0.9676 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.226, allocations: 27.33 kB / 0.9677 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/1.226, allocations: 14.72 kB / 0.9677 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008017/1.227, allocations: 346.8 kB / 0.968 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.7e-07/1.227, allocations: 1.969 kB / 0.968 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001805/1.229, allocations: 357.9 kB / 0.9684 GB, free: 13.64 MB / 0.7325 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.003554/1.232, allocations: 2.042 MB / 0.9703 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002602/1.235, allocations: 0.683 MB / 0.971 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.235, allocations: 0 / 0.971 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006947/1.236, allocations: 232.6 kB / 0.9712 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/1.239, allocations: 349.8 kB / 0.9716 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.25, allocations: 5.148 MB / 0.9766 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/1.251, allocations: 0.9566 MB / 0.9775 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00166/1.253, allocations: 199.7 kB / 0.9777 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/1.253, allocations: 226.3 kB / 0.9779 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of SimCode: time 1.994e-06/1.253, allocations: 3.938 kB / 0.9779 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04368/1.297, allocations: 17.48 MB / 0.995 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.297, allocations: 235.2 kB / 0.9952 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.633, allocations: 0 / 0.9952 GB, free: 0.6484 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: