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.001165/0.001164, allocations: 100.2 kB / 16.36 MB, free: 6.422 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.001341/0.001341, allocations: 198.4 kB / 17.3 MB, free: 5.801 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.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.795/1.795, allocations: 292.3 MB / 0.5496 GB, free: 17.69 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.001524/0.001525, allocations: 71.03 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2152, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003756/0.219, allocations: 2.489 MB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3601/0.5791, allocations: 0.7749 MB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.5793, allocations: 3.375 kB / 0.788 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5807, allocations: 0.5693 MB / 0.7885 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.581, allocations: 107.2 kB / 0.7886 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003586/0.5814, allocations: 114.2 kB / 0.7887 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.5816, allocations: 188.8 kB / 0.7889 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.582, allocations: 166.8 kB / 0.7891 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.5821, allocations: 76.28 kB / 0.7892 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.5823, allocations: 102.6 kB / 0.7893 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.5824, allocations: 11.97 kB / 0.7893 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.5826, allocations: 107.2 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.848e-05/0.5827, allocations: 58.12 kB / 0.7894 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.981e-05/0.5828, allocations: 70.39 kB / 0.7895 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.583, allocations: 231.9 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.583, allocations: 3.375 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5831, allocations: 2.438 kB / 0.7897 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5831, allocations: 0 / 0.7897 GB, free: 46.54 MB / 0.6544 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.000548/0.5836, allocations: 436.2 kB / 0.7901 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.5837, allocations: 11.66 kB / 0.7901 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.584, allocations: 48.7 kB / 0.7902 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.5843, allocations: 213.5 kB / 0.7904 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.5843, allocations: 9.406 kB / 0.7904 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.5843, allocations: 15.47 kB / 0.7904 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.5846, allocations: 237.1 kB / 0.7906 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.5847, allocations: 0.5312 kB / 0.7906 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.5847, allocations: 6.062 kB / 0.7906 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.5847, allocations: 18.41 kB / 0.7907 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002039/0.5849, allocations: 147.4 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008456/0.5858, allocations: 1.126 MB / 0.7919 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.677e-05/0.5859, allocations: 38.77 kB / 0.7919 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.5859, allocations: 23.42 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.5859, allocations: 0 / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.5859, allocations: 38.28 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.586, allocations: 0.7969 kB / 0.792 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.5861, allocations: 74.5 kB / 0.7921 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.5862, allocations: 52.03 kB / 0.7921 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.5863, allocations: 178.2 kB / 0.7923 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.5863, allocations: 27.83 kB / 0.7923 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.5864, allocations: 145.8 kB / 0.7925 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.5864, allocations: 8.656 kB / 0.7925 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.349e-05/0.5864, allocations: 35.67 kB / 0.7925 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.5865, allocations: 320.7 kB / 0.7928 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.5866, allocations: 35.36 kB / 0.7928 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.117e-05/0.5866, allocations: 97.42 kB / 0.7929 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.5867, allocations: 124.6 kB / 0.7931 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5867, allocations: 0 / 0.7931 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00016/0.5869, allocations: 136.3 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.5869, allocations: 7.875 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.5869, allocations: 2.625 kB / 0.7932 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.587, allocations: 8.469 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.5871, allocations: 24.05 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5871, allocations: 6.594 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.5872, allocations: 17.47 kB / 0.7932 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.5872, allocations: 5.562 kB / 0.7933 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.035e-05/0.5873, allocations: 128.8 kB / 0.7934 GB, free: 43.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.851e-05/0.5873, allocations: 82.41 kB / 0.7935 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.537e-05/0.5874, allocations: 127.5 kB / 0.7936 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.122e-06/0.5874, allocations: 0 / 0.7936 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001527/0.5876, allocations: 131.9 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.5876, allocations: 7.719 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-06/0.5876, allocations: 3.469 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-06/0.5876, allocations: 3.812 kB / 0.7937 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.393e-05/0.5877, allocations: 29.3 kB / 0.7937 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.5877, allocations: 6.094 kB / 0.7937 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.782e-05/0.5878, allocations: 17 kB / 0.7938 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.5878, allocations: 7.812 kB / 0.7938 GB, free: 43.59 MB / 0.6544 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 5.686e-05/0.5878, allocations: 188.9 kB / 0.794 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.5879, allocations: 7.312 kB / 0.794 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/0.5879, allocations: 14.59 kB / 0.794 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5879, allocations: 3.938 kB / 0.794 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5879, allocations: 4 kB / 0.794 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5879, allocations: 4.578 kB / 0.794 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.5882, allocations: 481.1 kB / 0.7944 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5883, allocations: 1.031 kB / 0.7944 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.5883, allocations: 10.53 kB / 0.7945 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5883, allocations: 0 / 0.7945 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5883, allocations: 7.594 kB / 0.7945 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5883, allocations: 0 / 0.7945 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5883, allocations: 3.344 kB / 0.7945 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.379e-05/0.5884, allocations: 112.1 kB / 0.7946 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.934e-05/0.5885, allocations: 90.91 kB / 0.7947 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.5885, allocations: 9.75 kB / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.5885, allocations: 3.438 kB / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.5886, allocations: 1.266 kB / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.5886, allocations: 4.344 kB / 0.7947 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.958e-05/0.5886, allocations: 125.3 kB / 0.7948 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5886, allocations: 0 / 0.7948 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003335/0.589, allocations: 59.34 kB / 0.7949 GB, free: 42.7 MB / 0.6544 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.332e-05/0.5891, allocations: 101.4 kB / 0.7949 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.5893, allocations: 113.6 kB / 0.7951 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5893, allocations: 0 / 0.7951 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.992e-05/0.5893, allocations: 16.34 kB / 0.7951 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.5896, allocations: 22.78 kB / 0.7951 GB, free: 42.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.59, allocations: 272.5 kB / 0.7954 GB, free: 42.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.5901, allocations: 0.7212 MB / 0.7961 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.165e-05/0.5902, allocations: 27.58 kB / 0.7961 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.5902, allocations: 17.05 kB / 0.7961 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.5902, allocations: 1.312 kB / 0.7961 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.002762/0.593, allocations: 0.8526 MB / 0.7969 GB, free: 41.67 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)