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.001082/0.001083, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008054/0.008054, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.702/1.702, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.0005651/0.0005653, allocations: 14 kB / 0.6744 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2446, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.688/0.9327, allocations: 180.4 MB / 0.9642 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009331/0.9421, allocations: 6.931 MB / 0.9709 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.9433, allocations: 24.56 kB / 0.9709 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.9443, allocations: 345 kB / 0.9713 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003721/0.9481, allocations: 1.349 MB / 0.9726 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.9511, allocations: 1.06 MB / 0.9736 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003376/0.9544, allocations: 2.707 MB / 0.9763 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008833/0.9553, allocations: 0.5402 MB / 0.9768 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.957, allocations: 0.7026 MB / 0.9775 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.9582, allocations: 0.6058 MB / 0.9781 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.758e-05/0.9583, allocations: 29.91 kB / 0.9781 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004355/0.9627, allocations: 2.182 MB / 0.9802 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.963, allocations: 247.8 kB / 0.9805 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000499/0.9635, allocations: 404.5 kB / 0.9809 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002749/0.9663, allocations: 1.817 MB / 0.9826 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.9663, allocations: 2.25 kB / 0.9826 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9663, allocations: 5.859 kB / 0.9826 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.9663, allocations: 0 / 0.9826 GB, free: 12.36 MB / 0.7325 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.001627/0.968, allocations: 1.02 MB / 0.9836 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.968, allocations: 7.625 kB / 0.9836 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.9681, allocations: 95.61 kB / 0.9837 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.97, allocations: 271 kB / 0.984 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008682/0.9708, allocations: 0.575 MB / 0.9846 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.9709, allocations: 44.75 kB / 0.9846 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.402e-05/0.971, allocations: 53.72 kB / 0.9846 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.9721, allocations: 0.6409 MB / 0.9853 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.9721, allocations: 2.656 kB / 0.9853 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.9722, allocations: 24 kB / 0.9853 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.9722, allocations: 19.69 kB / 0.9853 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.9732, allocations: 0.5294 MB / 0.9858 GB, free: 10.57 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.002877/0.9761, allocations: 2.449 MB / 0.9882 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.9767, allocations: 381.9 kB / 0.9886 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.977, allocations: 245 kB / 0.9888 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005769/0.9776, allocations: 322.6 kB / 0.9891 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.9777, allocations: 41.02 kB / 0.9892 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.314e-06/0.9777, allocations: 0 / 0.9892 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001329/0.979, allocations: 0.626 MB / 0.9898 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.9791, allocations: 62.22 kB / 0.9898 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.9796, allocations: 0.4919 MB / 0.9903 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.9796, allocations: 36.61 kB / 0.9904 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.9799, allocations: 316.1 kB / 0.9907 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.98, allocations: 144 kB / 0.9908 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.9801, allocations: 41.05 kB / 0.9908 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9802, allocations: 368 kB / 0.9912 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.9805, allocations: 168.7 kB / 0.9913 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.9809, allocations: 295.9 kB / 0.9916 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006807/0.9816, allocations: 463.5 kB / 0.9921 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.9816, allocations: 5.688 kB / 0.9921 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008485/0.9825, allocations: 0.5326 MB / 0.9926 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.9826, allocations: 161.8 kB / 0.9928 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.9826, allocations: 2.562 kB / 0.9928 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/0.9826, allocations: 5.25 kB / 0.9928 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/0.9834, allocations: 144.5 kB / 0.9929 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003562/0.9837, allocations: 0.5928 MB / 0.9935 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.9844, allocations: 88.95 kB / 0.9936 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.9844, allocations: 17.12 kB / 0.9936 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/0.9844, allocations: 5.75 kB / 0.9936 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007792/0.9852, allocations: 457.7 kB / 0.994 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.9852, allocations: 2.094 kB / 0.994 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.9853, allocations: 13.77 kB / 0.994 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.9857, allocations: 127.9 kB / 0.9942 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9858, allocations: 10.2 kB / 0.9942 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.9863, allocations: 71.95 kB / 0.9942 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.9863, allocations: 23.72 kB / 0.9943 GB, free: 4.246 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000333/0.9867, allocations: 309.5 kB / 0.9946 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-05/0.9868, allocations: 62.75 kB / 0.9946 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/0.9876, allocations: 494.6 kB / 0.9951 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9877, allocations: 2.844 kB / 0.9951 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9877, allocations: 0 / 0.9951 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007908/0.9885, allocations: 0.716 MB / 0.9958 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.9903, allocations: 1.282 MB / 0.997 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9904, allocations: 3.031 kB / 0.997 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.991, allocations: 137.8 kB / 0.9972 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.991, allocations: 2.906 kB / 0.9972 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.991, allocations: 13.11 kB / 0.9972 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/0.9914, allocations: 0.5982 MB / 0.9978 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9914, allocations: 2.781 kB / 0.9978 GB, free: 1.5 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.9925, allocations: 0.8342 MB / 0.9986 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.9928, allocations: 186.6 kB / 0.9988 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/0.9928, allocations: 14.09 kB / 0.9988 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004728/0.9933, allocations: 51.42 kB / 0.9988 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.9934, allocations: 25.47 kB / 0.9989 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.9934, allocations: 27.11 kB / 0.9989 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003725/0.9938, allocations: 357.2 kB / 0.9992 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9938, allocations: 0 / 0.9992 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009691/0.9948, allocations: 363.1 kB / 0.9996 GB, free: 476 kB / 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/0.9967, allocations: 1.487 MB / 1.001 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001395/0.9981, allocations: 0.673 MB / 1.002 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.9981, allocations: 1.781 kB / 1.002 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.9985, allocations: 231.2 kB / 1.002 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/1, allocations: 368.4 kB / 1.002 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007535/1.008, allocations: 5.442 MB / 1.008 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/1.008, allocations: 0.9476 MB / 1.008 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007561/1.009, allocations: 209.6 kB / 1.009 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/1.01, allocations: 221.8 kB / 1.009 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of SimCode: time 2.345e-06/1.01, allocations: 0 / 1.009 GB, free: 9.875 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03246/1.042, allocations: 16.93 MB / 1.025 GB, free: 0.668 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001876/1.042, allocations: 272.8 kB / 1.026 GB, free: 412 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/3.208, allocations: 0 / 1.026 GB, free: 412 kB / 0.7481 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/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)