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.0009581/0.0009623, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.000983/0.000983, allocations: 199.3 kB / 16.26 MB, free: 6.621 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.306/1.306, allocations: 205.1 MB / 222.1 MB, free: 4.629 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.563/1.563, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001668/0.001668, allocations: 65.59 kB / 0.6711 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2048, allocations: 114.6 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003328/0.2082, allocations: 2.559 MB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2093, allocations: 0.7673 MB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.432e-05/0.2093, allocations: 7.938 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.2104, allocations: 0.5541 MB / 0.7868 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.2106, allocations: 95.62 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.2108, allocations: 95.81 kB / 0.787 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.2111, allocations: 195.4 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003234/0.2114, allocations: 185.2 kB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.2115, allocations: 79.75 kB / 0.7874 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.2117, allocations: 103.6 kB / 0.7875 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.2117, allocations: 12 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.2119, allocations: 107.8 kB / 0.7876 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.41e-05/0.2119, allocations: 63.81 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.212, allocations: 67.67 kB / 0.7877 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002292/0.2122, allocations: 227.5 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2122, allocations: 0 / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2122, allocations: 0 / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2122, allocations: 0 / 0.7879 GB, free: 8.695 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.0005031/0.2128, allocations: 459.2 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2128, allocations: 8.031 kB / 0.7884 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.2129, allocations: 58.67 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.2132, allocations: 44.72 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.2134, allocations: 212.1 kB / 0.7887 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.2134, allocations: 16.64 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.2134, allocations: 12.38 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003346/0.2138, allocations: 226.8 kB / 0.7889 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2138, allocations: 8 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.2138, allocations: 4 kB / 0.7889 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/0.2138, allocations: 16.27 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.214, allocations: 140.7 kB / 0.7891 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.215, allocations: 1.13 MB / 0.7902 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.49e-05/0.2151, allocations: 42.56 kB / 0.7902 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.2151, allocations: 20.8 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2151, allocations: 4 kB / 0.7903 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.2151, allocations: 34.64 kB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.2151, allocations: 0 / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001565/0.2153, allocations: 85.59 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2153, allocations: 51.41 kB / 0.7904 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.2155, allocations: 179 kB / 0.7906 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2155, allocations: 25.7 kB / 0.7906 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.2156, allocations: 143.4 kB / 0.7908 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.2156, allocations: 19.75 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.2156, allocations: 29.7 kB / 0.7908 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2157, allocations: 322.8 kB / 0.7911 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.292e-05/0.2158, allocations: 24.84 kB / 0.7911 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.2159, allocations: 97.36 kB / 0.7912 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.216, allocations: 121.3 kB / 0.7913 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.216, allocations: 0 / 0.7913 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001709/0.2162, allocations: 137.4 kB / 0.7915 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2162, allocations: 8 kB / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2162, allocations: 0 / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.2162, allocations: 7.938 kB / 0.7915 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.2163, allocations: 27.92 kB / 0.7915 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2163, allocations: 7.938 kB / 0.7915 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.616e-05/0.2164, allocations: 19.75 kB / 0.7915 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.2164, allocations: 8 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.983e-05/0.2165, allocations: 120.4 kB / 0.7917 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.013e-05/0.2166, allocations: 89.44 kB / 0.7918 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001137/0.2167, allocations: 125.2 kB / 0.7919 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2167, allocations: 4 kB / 0.7919 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.000168/0.2169, allocations: 125.4 kB / 0.792 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-06/0.2169, allocations: 7.984 kB / 0.792 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2169, allocations: 4 kB / 0.792 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.2169, allocations: 4 kB / 0.792 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.217, allocations: 28.19 kB / 0.792 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.217, allocations: 8 kB / 0.792 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.2171, allocations: 15.92 kB / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2171, allocations: 4 kB / 0.7921 GB, free: 3.996 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 9.234e-05/0.2172, allocations: 188.2 kB / 0.7922 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.2172, allocations: 11.81 kB / 0.7923 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.2173, allocations: 16.88 kB / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2173, allocations: 0 / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2173, allocations: 0 / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2173, allocations: 0 / 0.7923 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003934/0.2177, allocations: 489 kB / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2177, allocations: 0 / 0.7927 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.2177, allocations: 4 kB / 0.7927 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2177, allocations: 4 kB / 0.7927 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2177, allocations: 0 / 0.7927 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2177, allocations: 128 / 0.7927 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2178, allocations: 8 kB / 0.7928 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.2179, allocations: 119.4 kB / 0.7929 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2179, allocations: 89.02 kB / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.218, allocations: 0 / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.548e-05/0.218, allocations: 8 kB / 0.793 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.218, allocations: 8.109 kB / 0.793 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.218, allocations: 4 kB / 0.793 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.397e-05/0.2181, allocations: 124 kB / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2181, allocations: 0 / 0.7931 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003253/0.2185, allocations: 51.84 kB / 0.7931 GB, free: 2.77 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.0003753/0.2188, allocations: 0.6538 MB / 0.7938 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.219, allocations: 116.7 kB / 0.7939 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2191, allocations: 0 / 0.7939 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.2191, allocations: 12 kB / 0.7939 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.2193, allocations: 25.36 kB / 0.7939 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.2208, allocations: 1.782 MB / 0.7957 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2211, allocations: 0.7202 MB / 0.7964 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.59e-05/0.2212, allocations: 36.39 kB / 0.7964 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.766e-05/0.2212, allocations: 31.42 kB / 0.7964 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2212, allocations: 4 kB / 0.7964 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6443/0.8655, allocations: 2.269 MB / 0.7987 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.8657, allocations: 211.5 kB / 0.7989 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.296, allocations: 0 / 0.7989 GB, free: 12.77 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)