Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_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.0008921/0.0008921, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001019/0.001019, allocations: 172.2 kB / 16.26 MB, free: 6.664 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.28/1.28, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.521/1.521, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004612/0.0004612, allocations: 17.56 kB / 0.6744 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1764, allocations: 116.3 MB / 0.788 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.002704/0.1791, allocations: 2.333 MB / 0.7903 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001909/0.181, allocations: 1.497 MB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.1811, allocations: 0 / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.1812, allocations: 31.72 kB / 0.7918 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003591/0.1816, allocations: 179.4 kB / 0.7919 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1819, allocations: 142.7 kB / 0.7921 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.1822, allocations: 347 kB / 0.7924 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005301/0.1827, allocations: 331.1 kB / 0.7927 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1829, allocations: 79.62 kB / 0.7928 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.1831, allocations: 107.6 kB / 0.7929 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1831, allocations: 8 kB / 0.7929 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003186/0.1834, allocations: 271.5 kB / 0.7932 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.523e-05/0.1835, allocations: 63.75 kB / 0.7932 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.1836, allocations: 109.2 kB / 0.7933 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1839, allocations: 319 kB / 0.7936 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1839, allocations: 0 / 0.7936 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1839, allocations: 0 / 0.7936 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1839, allocations: 0 / 0.7936 GB, free: 5.621 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0005184/0.1845, allocations: 475.1 kB / 0.7941 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.1845, allocations: 8.031 kB / 0.7941 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.1845, allocations: 54.73 kB / 0.7942 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.1851, allocations: 76.66 kB / 0.7942 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.1853, allocations: 224.1 kB / 0.7944 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1853, allocations: 20.62 kB / 0.7945 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1853, allocations: 16.38 kB / 0.7945 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004094/0.1858, allocations: 331.9 kB / 0.7948 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.1858, allocations: 0 / 0.7948 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.1858, allocations: 8 kB / 0.7948 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.1858, allocations: 20.27 kB / 0.7948 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.1862, allocations: 252.6 kB / 0.7951 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.1875, allocations: 1.634 MB / 0.7967 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.1881, allocations: 411.2 kB / 0.797 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1882, allocations: 89.67 kB / 0.7971 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.1883, allocations: 85.09 kB / 0.7972 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.1884, allocations: 38.5 kB / 0.7972 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.1884, allocations: 4 kB / 0.7973 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0005043/0.1889, allocations: 316.6 kB / 0.7976 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.1889, allocations: 81.05 kB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1891, allocations: 167.5 kB / 0.7978 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1891, allocations: 29.7 kB / 0.7978 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.1892, allocations: 159.8 kB / 0.798 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.1892, allocations: 43.36 kB / 0.798 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.1893, allocations: 21.72 kB / 0.798 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.1894, allocations: 331 kB / 0.7984 GB, free: 376 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1895, allocations: 79.94 kB / 0.7984 GB, free: 296 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1896, allocations: 156.8 kB / 0.7986 GB, free: 108 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.1899, allocations: 241.3 kB / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1899, allocations: 0 / 0.7988 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003616/0.1903, allocations: 281.1 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.073e-05/0.1904, allocations: 167.7 kB / 0.7992 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1904, allocations: 4 kB / 0.7992 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1904, allocations: 4 kB / 0.7992 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.1906, allocations: 51.89 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.1907, allocations: 4 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1908, allocations: 23.92 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1908, allocations: 8 kB / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-06/0.1908, allocations: 0 / 0.7993 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002795/0.1911, allocations: 211.7 kB / 0.7995 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1911, allocations: 4 kB / 0.7995 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.11e-06/0.1911, allocations: 7.984 kB / 0.7995 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1913, allocations: 47.91 kB / 0.7996 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1913, allocations: 7.938 kB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1914, allocations: 19.89 kB / 0.7996 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.1914, allocations: 8.312 kB / 0.7996 GB, free: 14.96 MB / 0.6231 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 (25): * Single equations (assignments): 25 * 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 0.0001194/0.1916, allocations: 225 kB / 0.7998 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.1916, allocations: 15.81 kB / 0.7998 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.192, allocations: 208 kB / 0.8 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.192, allocations: 7.938 kB / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.192, allocations: 0 / 0.8001 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.192, allocations: 3.984 kB / 0.8001 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.1931, allocations: 0.9613 MB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1931, allocations: 4 kB / 0.801 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.1932, allocations: 39.91 kB / 0.801 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1932, allocations: 4 kB / 0.801 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1932, allocations: 8 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1933, allocations: 4 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1933, allocations: 8.422 kB / 0.8011 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.1936, allocations: 444.7 kB / 0.8015 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.416e-05/0.1937, allocations: 108.9 kB / 0.8016 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.1937, allocations: 12 kB / 0.8016 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1939, allocations: 15.98 kB / 0.8016 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.1939, allocations: 23.8 kB / 0.8016 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.1939, allocations: 11.94 kB / 0.8017 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.866e-05/0.194, allocations: 135.7 kB / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1941, allocations: 0 / 0.8018 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004459/0.1945, allocations: 68 kB / 0.8018 GB, free: 12.48 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (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 Backend phase and start with SimCode phase: time 0.0005717/0.1951, allocations: 0.9715 MB / 0.8028 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.1955, allocations: 299.1 kB / 0.8031 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1955, allocations: 0 / 0.8031 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.1956, allocations: 89.69 kB / 0.8032 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.1961, allocations: 41.7 kB / 0.8032 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.1984, allocations: 2.508 MB / 0.8057 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.1987, allocations: 0.748 MB / 0.8064 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001952/0.1989, allocations: 73.47 kB / 0.8065 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.199, allocations: 47.53 kB / 0.8065 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of SimCode: time 2.61e-07/0.199, allocations: 7.938 kB / 0.8065 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5465/0.7455, allocations: 3.299 MB / 0.8097 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/0.7458, allocations: 241.5 kB / 0.81 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.406, allocations: 0 / 0.81 GB, free: 4.027 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_GeneralizedSensor.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)