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.000803/0.0008031, allocations: 98.11 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.005416/0.005416, allocations: 171.7 kB / 16.27 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.326/1.326, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.648/1.648, 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.0004951/0.0004951, allocations: 14.41 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1769, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002625/0.1796, allocations: 2.204 MB / 0.7901 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1807, allocations: 0.7636 MB / 0.7909 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.1808, allocations: 4 kB / 0.7909 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1809, allocations: 27.78 kB / 0.7909 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.1812, allocations: 99.59 kB / 0.791 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.1815, allocations: 99.81 kB / 0.7911 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.1818, allocations: 295.3 kB / 0.7914 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000252/0.182, allocations: 179.3 kB / 0.7916 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.594e-05/0.1821, allocations: 59.73 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.1823, allocations: 95.64 kB / 0.7917 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1824, allocations: 8 kB / 0.7917 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.1826, allocations: 139.6 kB / 0.7919 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.1826, allocations: 51.81 kB / 0.7919 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.923e-05/0.1827, allocations: 93.38 kB / 0.792 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.183, allocations: 219.5 kB / 0.7922 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.183, allocations: 0 / 0.7922 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.312e-06/0.183, allocations: 0 / 0.7922 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.183, allocations: 0 / 0.7922 GB, free: 7.109 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.0004872/0.1835, allocations: 427.2 kB / 0.7926 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1836, allocations: 12.03 kB / 0.7926 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1836, allocations: 46.73 kB / 0.7927 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.1839, allocations: 44.72 kB / 0.7927 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1841, allocations: 220.1 kB / 0.7929 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1842, allocations: 8.656 kB / 0.7929 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.1842, allocations: 16.38 kB / 0.7929 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.1845, allocations: 227.2 kB / 0.7932 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1845, allocations: 3.938 kB / 0.7932 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.1846, allocations: 12 kB / 0.7932 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.1846, allocations: 16.27 kB / 0.7932 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1848, allocations: 140.7 kB / 0.7933 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009371/0.1857, allocations: 1.13 MB / 0.7944 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.1858, allocations: 46.55 kB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.385e-05/0.1859, allocations: 20.8 kB / 0.7945 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.1859, allocations: 0 / 0.7945 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.1859, allocations: 34.56 kB / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1859, allocations: 0 / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001754/0.1861, allocations: 77.67 kB / 0.7946 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.1861, allocations: 55.34 kB / 0.7947 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1863, allocations: 175 kB / 0.7948 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.1863, allocations: 25.7 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.1864, allocations: 139.3 kB / 0.795 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.1864, allocations: 15.83 kB / 0.795 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1864, allocations: 21.72 kB / 0.795 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.803e-05/0.1865, allocations: 318.8 kB / 0.7953 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.1866, allocations: 27.92 kB / 0.7953 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.1866, allocations: 85.38 kB / 0.7954 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1868, allocations: 129.3 kB / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1868, allocations: 0 / 0.7956 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001849/0.187, allocations: 137.5 kB / 0.7957 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/0.1871, allocations: 165.6 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1871, allocations: 7.938 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1871, allocations: 4 kB / 0.7959 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1872, allocations: 27.92 kB / 0.7959 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1872, allocations: 4 kB / 0.7959 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.725e-05/0.1873, allocations: 15.84 kB / 0.7959 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.1873, allocations: 8 kB / 0.7959 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.742e-06/0.1873, allocations: 10.81 kB / 0.7959 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001328/0.1875, allocations: 95.7 kB / 0.796 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1875, allocations: 4 kB / 0.796 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.1875, allocations: 4 kB / 0.796 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.1876, allocations: 27.92 kB / 0.796 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.1876, allocations: 0 / 0.796 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.1876, allocations: 20.16 kB / 0.7961 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1876, allocations: 11.94 kB / 0.7961 GB, free: 2.711 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 0.0001114/0.1878, allocations: 213 kB / 0.7963 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1878, allocations: 7.906 kB / 0.7963 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.1878, allocations: 12.94 kB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1878, allocations: 0 / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1878, allocations: 3.984 kB / 0.7963 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1879, allocations: 3.938 kB / 0.7963 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.1883, allocations: 473.1 kB / 0.7968 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1883, allocations: 0 / 0.7968 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.1883, allocations: 15.94 kB / 0.7968 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1883, allocations: 0 / 0.7968 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1883, allocations: 0 / 0.7968 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.1883, allocations: 4 kB / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1884, allocations: 0 / 0.7968 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.1885, allocations: 115.9 kB / 0.7969 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.1886, allocations: 89 kB / 0.797 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.1886, allocations: 3.984 kB / 0.797 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.718e-05/0.1886, allocations: 8 kB / 0.797 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.1887, allocations: 11.92 kB / 0.797 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.1887, allocations: 4 kB / 0.797 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.763e-05/0.1888, allocations: 120 kB / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1888, allocations: 0 / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003362/0.1891, allocations: 55.78 kB / 0.7972 GB, free: 1.465 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.0003598/0.1895, allocations: 0.6538 MB / 0.7978 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1896, allocations: 108.9 kB / 0.7979 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1897, allocations: 8.062 kB / 0.7979 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.31e-05/0.1897, allocations: 12 kB / 0.7979 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.19, allocations: 27.92 kB / 0.7979 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.1915, allocations: 1.779 MB / 0.7997 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1917, allocations: 0.7202 MB / 0.8004 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.607e-05/0.1918, allocations: 36.39 kB / 0.8004 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1919, allocations: 35.42 kB / 0.8005 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.1919, allocations: 0 / 0.8005 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.2025, allocations: 2.144 MB / 0.8026 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.2027, allocations: 206.2 kB / 0.8027 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.874, allocations: 8 kB / 0.8028 GB, free: 11.59 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)