Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.717/1.717, allocations: 288.2 MB / 303.2 MB, free: 8.133 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 181 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 102.8 kB / 0.7439 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 10.75 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2049, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.002964/0.208, allocations: 2.115 MB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.2091, allocations: 0.721 MB / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.2093, allocations: 0 / 0.9822 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.2094, allocations: 23.86 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.2097, allocations: 63.81 kB / 0.9823 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.21, allocations: 83.77 kB / 0.9824 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.2102, allocations: 111.8 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.2105, allocations: 167.2 kB / 0.9827 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.631e-05/0.2105, allocations: 55.78 kB / 0.9827 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.2108, allocations: 59.75 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.2108, allocations: 8 kB / 0.9828 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.2109, allocations: 47.91 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.211, allocations: 43.91 kB / 0.9829 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.948e-05/0.211, allocations: 49.64 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.2113, allocations: 167.8 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2113, allocations: 3.938 kB / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.306e-06/0.2113, allocations: 0 / 0.9831 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2113, allocations: 0 / 0.9831 GB, free: 23.85 MB / 0.6198 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.0006324/0.2119, allocations: 423.1 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.212, allocations: 16.02 kB / 0.9835 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.674e-05/0.2121, allocations: 46.55 kB / 0.9835 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004016/0.2125, allocations: 51.77 kB / 0.9836 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.2127, allocations: 214.9 kB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2127, allocations: 8.281 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2128, allocations: 8 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.2131, allocations: 230.7 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2131, allocations: 8 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.2132, allocations: 11.98 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.978e-05/0.2132, allocations: 12.28 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.2134, allocations: 144.7 kB / 0.9842 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.2142, allocations: 1.13 MB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.093e-05/0.2143, allocations: 42.52 kB / 0.9854 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.2143, allocations: 8.016 kB / 0.9854 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.2144, allocations: 42.45 kB / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2144, allocations: 0 / 0.9854 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000173/0.2145, allocations: 77.5 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.2146, allocations: 51.41 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.2147, allocations: 169.6 kB / 0.9857 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.2147, allocations: 29.7 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.2148, allocations: 139.4 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.2148, allocations: 15.75 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.2148, allocations: 4 kB / 0.9859 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.2148, allocations: 322.8 kB / 0.9862 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.071e-05/0.2149, allocations: 19.98 kB / 0.9862 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.421e-05/0.2149, allocations: 87.5 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.371e-05/0.215, allocations: 39.98 kB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.215, allocations: 0 / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001569/0.2152, allocations: 137.5 kB / 0.9864 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.2154, allocations: 0.9524 MB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2154, allocations: 11.98 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.2154, allocations: 7.984 kB / 0.9874 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2155, allocations: 27.94 kB / 0.9874 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2155, allocations: 7.984 kB / 0.9874 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.2156, allocations: 15.84 kB / 0.9874 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.2156, allocations: 8 kB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.812e-06/0.2156, allocations: 4 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001165/0.2158, allocations: 95.72 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-06/0.2158, allocations: 0 / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-06/0.2158, allocations: 4.312 kB / 0.9875 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.709e-05/0.2159, allocations: 31.92 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.2159, allocations: 4 kB / 0.9876 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.2159, allocations: 11.84 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2159, allocations: 8 kB / 0.9876 GB, free: 18.79 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.915e-05/0.216, allocations: 217 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.2161, allocations: 15.75 kB / 0.9878 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.2161, allocations: 16.92 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2161, allocations: 0 / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2161, allocations: 0 / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2161, allocations: 4 kB / 0.9878 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.2165, allocations: 469.1 kB / 0.9883 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2165, allocations: 4 kB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.2165, allocations: 4 kB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2165, allocations: 3.984 kB / 0.9883 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.2165, allocations: 8.125 kB / 0.9883 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2165, allocations: 3.938 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2165, allocations: 3.953 kB / 0.9883 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001023/0.2166, allocations: 148.7 kB / 0.9885 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.2167, allocations: 96.91 kB / 0.9886 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2167, allocations: 8 kB / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.255e-05/0.2168, allocations: 0 / 0.9886 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.2168, allocations: 4 kB / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2168, allocations: 0 / 0.9886 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.673e-05/0.2169, allocations: 132.9 kB / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2169, allocations: 0 / 0.9887 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003148/0.2172, allocations: 59.78 kB / 0.9887 GB, free: 17.48 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002991/0.2175, allocations: 0.8887 MB / 0.9896 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.2177, allocations: 100.8 kB / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2177, allocations: 0 / 0.9897 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.2177, allocations: 20.23 kB / 0.9897 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.2179, allocations: 24.69 kB / 0.9898 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.219, allocations: 2.309 MB / 0.992 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.2192, allocations: 0.728 MB / 0.9927 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.963e-05/0.2193, allocations: 28.41 kB / 0.9927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.205e-05/0.2193, allocations: 31.42 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.2193, allocations: 4 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.2316, allocations: 2.147 MB / 0.9949 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.2318, allocations: 196.6 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/1.797, allocations: 4.062 kB / 0.9951 GB, free: 10.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_DC_Sensors_Examples_GeneralizedSensor.fmu > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)