Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",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.001155/0.001155, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 13.53 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.001445/0.001445, allocations: 68.28 kB / 0.6716 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1845, allocations: 114.5 MB / 0.7835 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003738/0.1883, allocations: 2.494 MB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.1896, allocations: 0.7868 MB / 0.7867 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.1897, allocations: 4 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.1908, allocations: 0.5687 MB / 0.7872 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.1911, allocations: 107.5 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.1914, allocations: 111.7 kB / 0.7874 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1916, allocations: 191.4 kB / 0.7876 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.1919, allocations: 158.1 kB / 0.7878 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.829e-05/0.192, allocations: 83.69 kB / 0.7879 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.1922, allocations: 91.7 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1922, allocations: 16 kB / 0.788 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001828/0.1924, allocations: 115.7 kB / 0.7881 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1925, allocations: 55.83 kB / 0.7881 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.1926, allocations: 71.66 kB / 0.7882 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.1929, allocations: 215.6 kB / 0.7884 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1929, allocations: 4 kB / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1929, allocations: 0 / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1929, allocations: 0 / 0.7884 GB, free: 8.398 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005659/0.1935, allocations: 455.2 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1935, allocations: 8.031 kB / 0.7888 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.1936, allocations: 46.73 kB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.1939, allocations: 44.7 kB / 0.7889 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1941, allocations: 216.1 kB / 0.7891 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1942, allocations: 12.66 kB / 0.7891 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1942, allocations: 20.31 kB / 0.7892 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.1945, allocations: 226.9 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.1945, allocations: 0 / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1946, allocations: 8 kB / 0.7894 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-05/0.1946, allocations: 20.2 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.1948, allocations: 144.7 kB / 0.7895 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009937/0.1958, allocations: 1.13 MB / 0.7907 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.423e-05/0.1959, allocations: 46.56 kB / 0.7907 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.896e-05/0.196, allocations: 20.94 kB / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.196, allocations: 0 / 0.7907 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.196, allocations: 30.56 kB / 0.7907 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.196, allocations: 4 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000202/0.1962, allocations: 81.47 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.1963, allocations: 51.41 kB / 0.7909 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1964, allocations: 177.1 kB / 0.791 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1965, allocations: 25.7 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.1965, allocations: 139.4 kB / 0.7912 GB, free: 5.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1966, allocations: 19.73 kB / 0.7912 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.1966, allocations: 29.7 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1968, allocations: 330.8 kB / 0.7916 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-05/0.1968, allocations: 24.86 kB / 0.7916 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.1969, allocations: 85.42 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1971, allocations: 129.2 kB / 0.7918 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1971, allocations: 0 / 0.7918 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001922/0.1973, allocations: 137.3 kB / 0.7919 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1973, allocations: 8 kB / 0.7919 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1973, allocations: 4.547 kB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.1973, allocations: 7.938 kB / 0.7919 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.1974, allocations: 23.98 kB / 0.792 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.1975, allocations: 4 kB / 0.792 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.98e-05/0.1976, allocations: 23.69 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1976, allocations: 11.98 kB / 0.792 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001025/0.1977, allocations: 124 kB / 0.7921 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.005e-05/0.1978, allocations: 89.44 kB / 0.7922 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001274/0.1979, allocations: 121.3 kB / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1979, allocations: 0 / 0.7923 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001783/0.1981, allocations: 137.3 kB / 0.7925 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.1981, allocations: 4 kB / 0.7925 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1981, allocations: 4 kB / 0.7925 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.218e-06/0.1981, allocations: 4 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.1982, allocations: 27.88 kB / 0.7925 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1982, allocations: 3.984 kB / 0.7925 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.1983, allocations: 11.94 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1983, allocations: 8 kB / 0.7925 GB, free: 3.707 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.984e-05/0.1984, allocations: 192.5 kB / 0.7927 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1984, allocations: 11.81 kB / 0.7927 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.1985, allocations: 16.88 kB / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1985, allocations: 0 / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.1985, allocations: 3.984 kB / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1985, allocations: 0 / 0.7927 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.1989, allocations: 469.2 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1989, allocations: 4 kB / 0.7932 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.246e-05/0.199, allocations: 7.938 kB / 0.7932 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.199, allocations: 4 kB / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.199, allocations: 0 / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.199, allocations: 0 / 0.7932 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.199, allocations: 4 kB / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1991, allocations: 115.6 kB / 0.7933 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.1992, allocations: 93.02 kB / 0.7934 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.1992, allocations: 3.938 kB / 0.7934 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.38e-05/0.1993, allocations: 0 / 0.7934 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.1993, allocations: 11.92 kB / 0.7934 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1993, allocations: 4 kB / 0.7934 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.1994, allocations: 130.1 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.513e-06/0.1994, allocations: 0 / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003489/0.1998, allocations: 55.78 kB / 0.7936 GB, free: 2.48 MB / 0.6075 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003415/0.2001, allocations: 0.6538 MB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2003, allocations: 109 kB / 0.7943 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2003, allocations: 4 kB / 0.7943 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.49e-05/0.2003, allocations: 16.19 kB / 0.7944 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.2006, allocations: 30.42 kB / 0.7944 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.2022, allocations: 1.729 MB / 0.7961 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.2025, allocations: 0.7244 MB / 0.7968 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.2026, allocations: 28.41 kB / 0.7968 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.029e-05/0.2026, allocations: 35.42 kB / 0.7968 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.2027, allocations: 7.938 kB / 0.7968 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2492/0.4519, allocations: 2.347 MB / 0.7991 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.009, allocations: 13.78 kB / 0.7992 GB, free: 12.66 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)