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: translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009251, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007945/0.007945, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.571/1.571, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.786/1.786, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0008357/0.000836, allocations: 13.38 kB / 0.6743 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2807, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003405/0.2841, allocations: 2.204 MB / 0.79 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.2856, allocations: 0.7635 MB / 0.7908 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.2858, allocations: 3.938 kB / 0.7908 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.286, allocations: 27.84 kB / 0.7908 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003689/0.2864, allocations: 99.61 kB / 0.7909 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.2867, allocations: 107.4 kB / 0.791 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004286/0.2872, allocations: 291.2 kB / 0.7913 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.2876, allocations: 187.3 kB / 0.7915 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.2878, allocations: 59.78 kB / 0.7915 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.2881, allocations: 95.59 kB / 0.7916 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.2881, allocations: 7.984 kB / 0.7916 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.2884, allocations: 135.7 kB / 0.7917 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.649e-05/0.2885, allocations: 51.88 kB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.2887, allocations: 85.38 kB / 0.7919 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.2891, allocations: 223.5 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2891, allocations: 4 kB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.2891, allocations: 0 / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.2891, allocations: 0 / 0.7921 GB, free: 7.227 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.00077/0.2899, allocations: 423.2 kB / 0.7925 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2899, allocations: 8.031 kB / 0.7925 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.2904, allocations: 52.7 kB / 0.7925 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.2907, allocations: 208.1 kB / 0.7927 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.2908, allocations: 12.66 kB / 0.7928 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.2908, allocations: 20.36 kB / 0.7928 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.2912, allocations: 227.2 kB / 0.793 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.2913, allocations: 4.188 kB / 0.793 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.2913, allocations: 7.938 kB / 0.793 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.2913, allocations: 20.27 kB / 0.793 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.2916, allocations: 140.7 kB / 0.7932 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.2928, allocations: 1.138 MB / 0.7943 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.237e-05/0.2929, allocations: 42.5 kB / 0.7943 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.2929, allocations: 16.86 kB / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.2929, allocations: 0 / 0.7943 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.2929, allocations: 30.66 kB / 0.7944 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.293, allocations: 3.938 kB / 0.7944 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.2932, allocations: 81.58 kB / 0.7944 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.2932, allocations: 59.28 kB / 0.7945 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2934, allocations: 171 kB / 0.7947 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2934, allocations: 25.7 kB / 0.7947 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.2935, allocations: 143.3 kB / 0.7948 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.2935, allocations: 15.84 kB / 0.7948 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2935, allocations: 17.72 kB / 0.7948 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2937, allocations: 322.8 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.59e-05/0.2937, allocations: 19.98 kB / 0.7952 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-05/0.2938, allocations: 89.38 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2939, allocations: 129.2 kB / 0.7954 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.2939, allocations: 7.938 kB / 0.7954 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002037/0.2941, allocations: 133.3 kB / 0.7955 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.2943, allocations: 169.8 kB / 0.7957 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2943, allocations: 4 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2943, allocations: 0 / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2944, allocations: 23.98 kB / 0.7957 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2944, allocations: 7.938 kB / 0.7957 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.019e-05/0.2945, allocations: 15.84 kB / 0.7957 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2945, allocations: 4 kB / 0.7957 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.2945, allocations: 6.812 kB / 0.7957 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001527/0.2947, allocations: 104 kB / 0.7958 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2947, allocations: 4 kB / 0.7958 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.328e-06/0.2947, allocations: 4 kB / 0.7958 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.2948, allocations: 24.03 kB / 0.7959 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2948, allocations: 4 kB / 0.7959 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.192e-05/0.2949, allocations: 19.77 kB / 0.7959 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2949, allocations: 8 kB / 0.7959 GB, free: 2.887 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.0001499/0.295, allocations: 214.2 kB / 0.7961 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.2951, allocations: 11.91 kB / 0.7961 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.84e-05/0.2951, allocations: 16.92 kB / 0.7961 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2951, allocations: 4 kB / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2952, allocations: 0 / 0.7961 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2952, allocations: 3.938 kB / 0.7961 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004522/0.2956, allocations: 469.2 kB / 0.7966 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2956, allocations: 0 / 0.7966 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.2957, allocations: 8 kB / 0.7966 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.2957, allocations: 3.938 kB / 0.7966 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2957, allocations: 0 / 0.7966 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2957, allocations: 4 kB / 0.7966 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2957, allocations: 0 / 0.7966 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.2958, allocations: 123.5 kB / 0.7967 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.2959, allocations: 92.95 kB / 0.7968 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.2959, allocations: 7.984 kB / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.241e-05/0.296, allocations: 0 / 0.7968 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.296, allocations: 4 kB / 0.7968 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.296, allocations: 0 / 0.7968 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.2961, allocations: 131.9 kB / 0.7969 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2961, allocations: 4 kB / 0.7969 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003384/0.2964, allocations: 55.78 kB / 0.797 GB, free: 1.629 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 9.572e-05/0.2965, allocations: 99.19 kB / 0.7971 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2967, allocations: 104.9 kB / 0.7972 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2967, allocations: 4.125 kB / 0.7972 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.579e-05/0.2968, allocations: 15.92 kB / 0.7972 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.297, allocations: 27.92 kB / 0.7972 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.2976, allocations: 333 kB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.2979, allocations: 0.728 MB / 0.7983 GB, free: 264 kB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.298, allocations: 32.39 kB / 0.7983 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.298, allocations: 15.44 kB / 0.7983 GB, free: 216 kB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.298, allocations: 0 / 0.7983 GB, free: 216 kB / 0.6075 GB Notification: Performance of Templates: time 0.003164/0.3012, allocations: 0.8119 MB / 0.7991 GB, free: 15.4 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1) Environment - environmentSimulation: